Re: Trouble using authPubkey authentication (General questions)
The key I'm using to connect with the server is taken from the server.
on the server I created a pair of private/public key using ssh-keygen -t dsa.
Then I inserted the private key into the db.
If I copy the private key on another linux system I can do a login with that key, so I think the system is ok.
I think it's a problem related to the conversion of the key in the code, so I will try to assign it directly in an array of chars.
Thanks for the support, I hope to write soon about my successful connection with a private key ! :)
Damiano,
error 2146798272 is in HEX 800A7540. Looking at last word HEX 7540 and convert it back to DEC is 30016 = Invalid login/password error.
So, let's see why you get this error. Did you upload public key to the server?
Complete thread:
- Trouble using authPubkey authentication - Damiano, 2004-10-20, 09:46
- Re: Trouble using authPubkey authentication - wodSupport, 2004-10-20, 11:47
- Re: Trouble using authPubkey authentication - Damiano, 2004-10-20, 12:15
- Re: Trouble using authPubkey authentication - wodSupport, 2004-10-20, 12:17
- Re: Trouble using authPubkey authentication - Damiano, 2004-10-20, 12:32
- Re: Trouble using authPubkey authentication - wodSupport, 2004-10-20, 13:46
- Re: Trouble using authPubkey authentication - Damiano, 2004-10-20, 14:15
- Re: Trouble using authPubkey authentication - A. McDermott, 2005-11-21, 23:58
- Re: Trouble using authPubkey authentication - wodSupport, 2005-11-22, 00:00
- Re: Trouble using authPubkey authentication - A. McDermott, 2005-11-21, 23:58
- Re: Trouble using authPubkey authentication - Damiano, 2004-10-20, 14:15
- Re: Trouble using authPubkey authentication - wodSupport, 2004-10-20, 13:46
- Re: Trouble using authPubkey authentication - Damiano, 2004-10-20, 12:32
- Re: Trouble using authPubkey authentication - wodSupport, 2004-10-20, 12:17
- Re: Trouble using authPubkey authentication - Damiano, 2004-10-20, 12:15
- Re: Trouble using authPubkey authentication - wodSupport, 2004-10-20, 11:47