【網管】ssh突然不能用了,怎麼辦?

我的系統環境:Mac OS X

bangdollPB:~ bangdoll$ uname -a
Darwin bangdollPB.local 8.10.0 Darwin Kernel Version 8.10.0: Wed May 23 16:50:59 PDT 2007; root:xnu-792.21.3~1/RELEASE_PPC Power Macintosh powerpc


無法登入遠端系統時,出現以下的訊息:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
ca:96:59:fb:12:6d:cf:01:34:05:d5:b0:38:fb:00:01.
Please contact your system administrator.
Add correct host key in /Users/bangdoll/.ssh/known_hosts to get rid of this message.
Offending key in /Users/bangdoll/.ssh/known_hosts:7
DSA host key for 220.132.208.15 has changed and you have requested strict checking.
Host key verification failed.

解決方法:
重點是上面的紅色字
請到該使用者的/Users/你的名字/.ssh/known_hosts
刪除裏面的東西就好了。

發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 變更 )

Twitter picture

You are commenting using your Twitter account. Log Out / 變更 )

Facebook照片

You are commenting using your Facebook account. Log Out / 變更 )

Google+ photo

You are commenting using your Google+ account. Log Out / 變更 )

連結到 %s