AW: SSH Help - OpenSSH
"Hofmann, Berthold" <[email protected]> Mon, 17 Dec 2007 12:25:57 +0100
| Newsgroups | gmane.network.ssh.windows |
|---|---|
| Message-ID | <19B3813D40B7DF4F87CB38C8D4B0525F68BE5C@FTHW9C5A.ww902.siemens.net> |
Vagner, have you set the correct permissions on the ~/.ssh/authorized_keys? It should be 600, and have you verified, that the key from your windows machine is only one line, without carrige return line feed. Regards Berthold An: [email protected] Betreff: SSH Help - OpenSSH Hi Guys, Im trying to acess a unix server from a windows machine via ssh using openssh as ssh server. Im wondering if you could inform me about the procedure that I need to follow, to have acess to the unix server without password, i mean, with public key authentication. I have generated a public key via ssh-keygen, and I have copied the public key to the unix server to ~/.ssh/authorized_keys. However, I still get the password prompt, with the following verbose information: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% vpmorais@lx2pc247 /etc $ ssh -v [email protected] ls OpenSSH_4.7p1, OpenSSL 0.9.8e 23 Feb 2007 debug1: Reading configuration data /etc/ssh_config debug1: Connecting to lxhp19.optimus.pt [172.19.24.19] port 22. debug1: Connection established. debug1: identity file /home/vpmorais/.ssh/identity type -1 debug1: identity file /home/vpmorais/.ssh/id_rsa type 1 debug1: identity file /home/vpmorais/.ssh/id_dsa type 2 debug1: Remote protocol version 2.0, remote software version OpenSSH_3.5p1 debug1: match: OpenSSH_3.5p1 pat OpenSSH_3.* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_4.7 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 'lxhp19.optimus.pt' is known and matches the RSA host key. debug1: Found key in /home/vpmorais/.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: external-keyx,gssapi,publickey,passwo rd,keyboard-interactive debug1: Next authentication method: publickey debug1: Trying private key: /home/vpmorais/.ssh/identity debug1: Offering public key: /home/vpmorais/.ssh/id_rsa debug1: Authentications that can continue: external-keyx,gssapi,publickey,passwo rd,keyboard-interactive debug1: Offering public key: /home/vpmorais/.ssh/id_dsa debug1: Authentications that can continue: external-keyx,gssapi,publickey,passwo rd,keyboard-interactive debug1: Next authentication method: keyboard-interactive debug1: Authentications that can continue: external-keyx,gssapi,publickey,passwo rd,keyboard-interactive debug1: Next authentication method: password [email protected]'s password: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Why is it not working the public key authentication? Any help? Thanks for your help. Best regards Vagner -- List Info: http://erdelynet.com/ssh-l/ List Archives: http://erdelynet.com/archive/ssh-l/ To Unsubscribe: Mail mailto:[email protected]