OSXのターミナルでリモートホストに接続できない件

2007 4月 22
by ray

早い話が自分でシステム入れ替えをしてしまったために前に入れていたSSHの公開鍵が違うと言って自分の計算機に叱られたという事です。
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 DSA host key has just been changed.
The fingerprint for the DSA key sent by the remote host is
ひ み つ
Please contact your system administrator.
Add correct host key in /Users/ray/.ssh/known_hosts to get rid of this message.
Offending key in /Users/ray/.ssh/known_hosts:4
DSA host key for ひ み つ has changed and you have requested strict checking.
Host key verification failed.

でこんな時は慌てないで
vi /Users/ray/.ssh/known_hosts
で該当するホストのIPアドレスのところをddで消去してwqで保存して終了したら
入れるようになりますた。
慌てますた。

No comments yet

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS