最近給軟路由重裝完固件連接時發(fā)現(xiàn)ssh報錯,如下
C:\Users\yzh>ssh root@192.168.8.1
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 a host key has just been changed.
The fingerprint for the ED25519 key sent by the remote host is
SHA256:uSgAcKy0NKevdMFprVPlHaajR6Bg.
Please contact your system administrator.
Add correct host key in C:\\Users\\yzh/.ssh/known_hosts to get rid of this message.
Offending ED25519 key in C:\\Users\\yzh/.ssh/known_hosts:5
ED25519 host key for 192.168.8.1 has changed and you have requested strict checking.
Host key verification failed.
WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
警告:遠程主機標(biāo)識已更改!
這個報錯主要是因為遠程主機的ssh公鑰發(fā)生了變化,兩邊不一致導(dǎo)致的文章來源:http://www.zghlxwxcb.cn/news/detail-563546.html
刪除本地對應(yīng)ip的在known_hosts相關(guān)信息
刪除之后重新連接,成功!文章來源地址http://www.zghlxwxcb.cn/news/detail-563546.html
到了這里,關(guān)于ssh登陸報錯“IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!“問題原因及解決方法的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!