а дітька лисого. уважно перевірив права і на клієнті і на сервері. все так, як і повинно бути. читав що пан noddeat писав - не допомага. Я розумію, що чудес не буває але воно не працює....
Тре додати шо в /etc/ssh/sshd_config оця "хрєнь" має бути закоментована як мінімум (або вказаний інший перелік файлів), інакше public key authentication не відбудеться:#AuthorizedKeysFile .ssh/authorized_keys
Директива, яка визначає приорітети доступних методів автентифікації:PreferredAuthentications public-key, password, pam
а читали наступне повідомлення anatoliyd? :ЦитатаТре додати шо в /etc/ssh/sshd_config оця "хрєнь" має бути закоментована як мінімум (або вказаний інший перелік файлів), інакше public key authentication не відбудеться:#AuthorizedKeysFile .ssh/authorized_keysя подивився, у вас якраз воно розкоментоване — закоментуйте.
$ ssh -v rabitsa.org.uaOpenSSH_4.6p1 Debian-5ubuntu0.1, OpenSSL 0.9.8e 23 Feb 2007debug1: Reading configuration data /etc/ssh/ssh_configdebug1: Applying options for *debug1: Connecting to rabitsa.org.ua [77.242.166.134] port 22.debug1: Connection established.debug1: identity file /home/vanessa/.ssh/id_rsa type 1debug1: identity file /home/vanessa/.ssh/id_dsa type -1debug1: Remote protocol version 2.0, remote software version OpenSSH_4.7p1 Debian-2debug1: match: OpenSSH_4.7p1 Debian-2 pat OpenSSH*debug1: Enabling compatibility mode for protocol 2.0debug1: Local version string SSH-2.0-OpenSSH_4.6p1 Debian-5ubuntu0.1debug1: SSH2_MSG_KEXINIT sentdebug1: SSH2_MSG_KEXINIT receiveddebug1: kex: server->client aes128-cbc hmac-md5 nonedebug1: kex: client->server aes128-cbc hmac-md5 nonedebug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sentdebug1: expecting SSH2_MSG_KEX_DH_GEX_GROUPdebug1: SSH2_MSG_KEX_DH_GEX_INIT sentdebug1: expecting SSH2_MSG_KEX_DH_GEX_REPLYdebug1: Host 'rabitsa.org.ua' is known and matches the RSA host key.debug1: Found key in /home/vanessa/.ssh/known_hosts:1debug1: ssh_rsa_verify: signature correctdebug1: SSH2_MSG_NEWKEYS sentdebug1: expecting SSH2_MSG_NEWKEYSdebug1: SSH2_MSG_NEWKEYS receiveddebug1: SSH2_MSG_SERVICE_REQUEST sentdebug1: SSH2_MSG_SERVICE_ACCEPT receiveddebug1: Authentications that can continue: publickey,passworddebug1: Next authentication method: publickeydebug1: Offering public key: /home/vanessa/.ssh/id_rsadebug1: Authentications that can continue: publickey,passworddebug1: Trying private key: /home/vanessa/.ssh/id_dsadebug1: Next authentication method: passwordvanessa@rabitsa.org.ua's password:
$ ssh -v miniaquasd.dyndns.orgOpenSSH_4.7p1 Debian-2, OpenSSL 0.9.8c 05 Sep 2006debug1: Reading configuration data /etc/ssh/ssh_configdebug1: Applying options for *debug1: Connecting to miniaquasd.dyndns.org [92.112.74.137] port 22.debug1: Connection established.debug1: identity file /home/vanessa/.ssh/identity type -1debug1: identity file /home/vanessa/.ssh/id_rsa type 1debug1: identity file /home/vanessa/.ssh/id_dsa type -1debug1: Remote protocol version 2.0, remote software version OpenSSH_4.6p1 Debian-5ubuntu0.1debug1: match: OpenSSH_4.6p1 Debian-5ubuntu0.1 pat OpenSSH*debug1: Enabling compatibility mode for protocol 2.0debug1: Local version string SSH-2.0-OpenSSH_4.7p1 Debian-2debug1: SSH2_MSG_KEXINIT sentdebug1: SSH2_MSG_KEXINIT receiveddebug1: kex: server->client aes128-cbc hmac-md5 nonedebug1: kex: client->server aes128-cbc hmac-md5 nonedebug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sentdebug1: expecting SSH2_MSG_KEX_DH_GEX_GROUPdebug1: SSH2_MSG_KEX_DH_GEX_INIT sentdebug1: expecting SSH2_MSG_KEX_DH_GEX_REPLYdebug1: Host 'miniaquasd.dyndns.org' is known and matches the RSA host key.debug1: Found key in /home/vanessa/.ssh/known_hosts:1Warning: Permanently added the RSA host key for IP address '92.112.74.137' to the list of known hosts.debug1: ssh_rsa_verify: signature correctdebug1: SSH2_MSG_NEWKEYS sentdebug1: expecting SSH2_MSG_NEWKEYSdebug1: SSH2_MSG_NEWKEYS receiveddebug1: SSH2_MSG_SERVICE_REQUEST sentdebug1: SSH2_MSG_SERVICE_ACCEPT receiveddebug1: Authentications that can continue: publickey,passworddebug1: Next authentication method: publickeydebug1: Trying private key: /home/vanessa/.ssh/identitydebug1: Offering public key: /home/vanessa/.ssh/id_rsadebug1: Server accepts key: pkalg ssh-rsa blen 277debug1: read PEM private key done: type RSAdebug1: Authentication succeeded (publickey).debug1: channel 0: new [client-session]debug1: Entering interactive session.debug1: Sending environment.debug1: Sending env LANG = uk_UA.UTF-8Linux celeris 2.6.23.9-my3 #1 PREEMPT Fri Jan 4 13:07:59 EET 2008 i686The programs included with the Ubuntu system are free software;the exact distribution terms for each program are described in theindividual files in /usr/share/doc/*/copyright.Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted byapplicable law.You have new mail.Last login: Fri Feb 22 23:53:35 2008 from localhostvanessa@celeris:~$
SendEnv LANG LC_* HashKnownHosts yes GSSAPIAuthentication yes GSSAPIDelegateCredentials no
може, проблема в тому, що ключі однакові?