作者heeroy (busy life)
看板FreeBSD
标题Re: [问题] 4.8 一灌好 ssh 连不进去
时间Wed Feb 27 22:11:41 2008
※ 引述《magicallove (小判)》之铭言:
: 应该是因为你的ssh连线是连到和之前一样的目的ip
: 但是因为你重新安装os之後金钥会换
: 所以电脑发现这次连线过去的key跟上次连过去的不符合
: 因此只要删除你电脑上面纪录key的档案就可以连了
: 我之前也重新安装过很多次电脑
: 常常看到这个问题
: 不过我对那些名词不熟,上面说的东西应该会有名词错误的情况= =
: 希望你可以看懂我想传达的意思...
: ※ 引述《sharemarker (PCBSD is GOOD)》之铭言:
: : 一连过去 4.8 的 SERVER
: : 出现 以下讯息
: : ------------------------------------------------------------
: : @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
: : @ 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
: : b2:07:83:e7:06:53:6f:db:6c:90:ec:f0:b3:12:c0:0c.
: : Please contact your system administrator.
: : Add correct host key in /root/.ssh/known_hosts to get rid of this message.
: : Offending key in /root/.ssh/known_hosts:6
: : DSA host key for 192.168.1.200 has changed and you have requested strict
: : checking.
: : Host key verification failed.
: : --------------------------------------------------------------
: : 然後 就断线了
: : 用 6.x 与 7.0
: : 都不会
: : 请问 怎麽解决呢呢
: : thanks
其实不用删掉整个档案,
只要把.ssh/known_host里面关於该站台位址的那一行删掉後
再连线一次就可以了~
--
如果全部删掉也是没什麽关系啦...
只是所有的站台都会在删档後第一次连线时问yes/no而已... :P
--
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 122.116.134.242