|
今天发现以前在mac的终端下面使用ssh user@localhost输入密码就可以连接到远程的SSH服务器,今天连接的时候老是提示如下错误:@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ WARNING: POSSIBLE DNS SPOOFING DETECTED! @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@The RSA host key for usa.itxbo.com has changed,and the key for the corresponding IP address 184.82.185.XXhas a different value. This could either mean thatDNS SPOOFING is happening or the IP address for the hostand its host key have changed at the same time.Offending key for IP in /Users/apple/.ssh/known_hosts:2@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 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 is7e:be:86:21:9c:ec:79:90:c3:b3:8c:0b:16:07:f8:f0.Please contact your system administrator.Add correct host key in /Users/apple/.ssh/known_hosts to get rid of this message.Offending key in /Users/apple/.ssh/known_hosts:6RSA host key for usa.itxbo.com has changed and you have requested strict checking.Host key verification failed. 后来查了下资料 才发现是ssh server的公钥改变后导致。
只要清除老的公钥信息就可以了。
解决方法:- ssh-keygen -R 123.123.123.123(你远程服务器的IP)
复制代码 |
3389, 打印机, 诺德尔, 网吧, 网吧版, 网吧系统, ndeer, 极速版, 诺德尔, 极速版, 诺德尔, QQ空间, QQ签名, QQ空间, QQ签名, 绿茶, QQ签名, 服务器, 论坛, 3389, 免费, 3389, 打印机, 主机, QQ空间, QQ签名, 矮哨兵, 网吧, ta
|