Host key verification failed.
[SSHクライアントで “Host key verification failed.” って怒られて、ログインできない。
[hijiri@takayuki ~]$ ssh -v hijiri.umemoto.org
OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to hijiri.umemoto.org [210.167.182.8] port 22.
debug1: Connection established.
debug1: identity file /home/hijiri/.ssh/identity type -1
debug1: identity file /home/hijiri/.ssh/id_rsa type -1
debug1: identity file /home/hijiri/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, 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_3.9p1
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
Host key verification failed.
[hijiri@takayuki ~]$
[root@takayuki dev]# ls -l tty*
crw——- 1 root root 5, 0 2008-06-20 22:13 tty
crw——- 1 root root 4, 0 2008-06-21 03:37 tty0
crw——- 1 root root 4, 1 2008-06-20 18:47 tty1
crw——- 1 root root 4, 10 2008-06-21 03:37 tty10
crw——- 1 root root 4, 11 2008-06-21 03:37 tty11
crw——- 1 root root 4, 12 2008-06-21 03:37 tty12
crw——- 1 root root 4, 2 2008-06-20 18:38 tty2
crw——- 1 root root 4, 3 2008-06-20 18:38 tty3
crw——- 1 root root 4, 4 2008-06-20 18:38 tty4
crw–w—- 1 root tty 4, 5 2008-06-20 18:37 tty5
crw–w—- 1 root tty 4, 6 2008-06-20 18:37 tty6
crw——- 1 root root 4, 7 2008-06-21 03:37 tty7
crw——- 1 root root 4, 8 2008-06-21 03:37 tty8
crw——- 1 root root 4, 9 2008-06-21 03:37 tty9
crw——- 1 root root 4, 64 2008-06-20 18:38 ttyS0
crw——- 1 root root 4, 65 2008-06-21 03:37 ttyS1
crw——- 1 root root 4, 66 2008-06-21 03:37 ttyS2
crw——- 1 root root 4, 67 2008-06-21 03:37 ttyS3
原因は、ttyに書き込みのグループパーミッシンがついていなかったこと。
./MAKEDEV でつくりなおすか、あるいは、 chmod する。
で、 パーミッションが、”crw–w—-”になったら、無事ログインできるようになった。めでたし、めでたし。

