Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using RSA auth with SSH

Status
Not open for further replies.

Sen7inel

IS-IT--Management
Feb 14, 2001
90
FI
Hi,

I'm trying to connect to a linux box from Windows using RSA authentication. I've created the keypair, transferred the public key to server, moved it to ~/.ssh2/key.pub and made echo "Key key.pub" >> authorization. On the client I've got IdKey key in the identification file. This is what I get:

..
debug: Ssh2AuthPubKeyClient: Trying 1 key candidates.
debug: server offers auth methods 'publickey,password,keyboard-interactive'.
debug: Ssh2AuthPubKeyClient: All keys declined by server, disabling method.
debug: Ssh2AuthClient: Method 'publickey' disabled.
..

What's wrong, why does the server decline the keys? The server is OpenSSH_3.7.1p1, client is SSH Secure Shell 3.2.9 Windows Client.
 
append the key to ~/.ssh/authorized_keys and make your home directory 0700 on the machine you're trying to ssh into
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top