SSH Help - OpenSSH
Vagner Pinto Morais <[email protected]> Mon, 17 Dec 2007 10:39:36 +0000
| Newsgroups | gmane.network.ssh.windows |
|---|---|
| Message-ID | <[email protected]> |
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<mailto:vpmorais@lx2pc247> /etc $ ssh -v [email protected]<mailto:[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<mailto:[email protected]'s> password: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Why is it not working the public key authentication? Any help? Thanks for your help. Best regards Vagner