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.
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.