Re: Форвард 22 порта и "Host key verification failed"
Oleg Frolkov -> debian-russian@lists.debian.org @ Fri, 25 Jul 2008 08:33:10 +0400:
OF> впрочем косяк все равно на вызывающем хосте, что-то с ssh. Под обычным
OF> пользователем говорит:
OF> ssh -v user@1.2.3.4
OF> -----------------------------
OF> OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090701f
OF> debug1: Reading configuration data /etc/ssh/ssh_config
OF> debug1: Applying options for *
OF> debug1: Rhosts Authentication disabled, originating port will not be trusted.
OF> debug1: Connecting to 1.2.3.4 [1.2.3.4] port 22.
OF> debug1: Connection established.
OF> debug1: identity file /home/sysop/.ssh/identity type -1
OF> debug1: identity file /home/sysop/.ssh/id_rsa type -1
OF> debug1: identity file /home/sysop/.ssh/id_dsa type -1
OF> debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3p2
OF> Debian-9etch2
OF> debug1: match: OpenSSH_4.3p2 Debian-9etch2 pat OpenSSH*
OF> debug1: Enabling compatibility mode for protocol 2.0
OF> debug1: Local version string SSH-2.0-OpenSSH_3.6.1p2
OF> debug1: SSH2_MSG_KEXINIT sent
OF> debug1: SSH2_MSG_KEXINIT received
OF> debug1: kex: server->client aes128-cbc hmac-md5 none
OF> debug1: kex: client->server aes128-cbc hmac-md5 none
OF> debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent
OF> debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
OF> debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
OF> debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
OF> Host key verification failed.
OF> debug1: Calling cleanup 0x8062d60(0x0)
OF> Не совсем понимаю.... что тут может быть.
OF> Под рутом ssh исполняется нормально и заходит на хост.
А покажи-ка права на /etc/ssh и /etc/ssh/* на вызывающем хосте...
--
Artem Chuprina
RFC2822: <ran{}ran.pp.ru> Jabber: ran@jabber.ran.pp.ru
Science is like sex: sometimes something useful comes out, but that's
not why we're doing it.
-- Richard Feynman
Reply to: