Hi all, I reported this issue to the owner of the list before with no response yet, but I really couldn't get ssh publik key authentication work in Mandriva 2007 when I used ssh-keygen to create a key. I have a key which was created by WinSCP, perfectly working at the moment. This key, however is incompatible with openssh, can not be converted to this format, therefore I wanted to create a key from my linux box by ssh-keygen. The process works fine, asking for the name of the key file and passphrase etc., and at the end it creates id_rsa and id_rsa.pub files, under .ssh/. I copy the id_rsa.pub file to $/.ssh/authorized_keys file of the server machine, with read/write privileges for owner, read privileges for group and none for others. I restart sshd, although I am not sure if this is needed. Then I try to login to the server from the other linux box. Here is the output of `ssh servername -v' command:
OpenSSH_4.3p2, OpenSSL 0.9.8b 04 May 2006 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to shebiaruz [192.168.0.4] port 443. debug1: Connection established. debug1: identity file /home/fatosh/.ssh/identity type -1 debug1: identity file /home/fatosh/.ssh/id_rsa type 1 debug1: identity file /home/fatosh/.ssh/id_dsa type -1 debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3 debug1: match: OpenSSH_4.3 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_4.3 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-cbc hmac-md5 none debug1: kex: client->server aes128-cbc hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Host 'shebiaruz' is known and matches the RSA host key. debug1: Found key in /home/fatosh/.ssh/known_hosts:2 debug1: ssh_rsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,keyboard-interactive debug1: Next authentication method: publickey debug1: Offering public key: /home/fatosh/.ssh/id_rsa debug1: Authentications that can continue: publickey,keyboard-interactive debug1: Trying private key: /home/fatosh/.ssh/identity debug1: Offering public key: /home/fatosh/.ssh/id_rsa debug1: Authentications that can continue: publickey,keyboard-interactive debug1: Trying private key: /home/fatosh/.ssh/id_dsa debug1: Next authentication method: keyboard-interactive debug1: Authentications that can continue: publickey,keyboard-interactive debug1: No more authentication methods to try. Permission denied (publickey,keyboard-interactive). What am I missing here? Thanks, Hakan
pgpRfBPoKsRYH.pgp
Description: PGP signature
