2004年5月2日日曜日

sshで繋がらない。

sshで繋がらない現象が起きた。
ローカルマシンに登録してあるRSA keyとリモートマシンのRSA keyとが異なる場合に表示されるメッセージらしいので、
$HOME/.ssh/known_hosts
の該当するドメイン名のRSA Keyを消去したら繋がるようになりました。

以下、繋がらなかった時に表示されたメッセージ
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: POSSIBLE DNS SPOOFING DETECTED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The RSA host key for aim-lab.com has changed,
and the key for the according IP address 218.47.xxx.xxx
is unknown. This could either mean that
DNS SPOOFING is happening or the IP address for the host
and its host key have changed at the same time.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
06:e9:73:54:79:af:87:c2:9a:fe:f3:47:51:13:db:98.
Please contact your system administrator.
Add correct host key in /Users/xxxxxx/.ssh/known_hosts to get rid of this message.
Offending key in /Users/xxxxxx/.ssh/known_hosts:1
RSA host key for aim-lab.com has changed and you have requested strict checking.
Host key verification failed.

0 件のコメント: