mac下解决SSH出现HOST KEY VERIFICATION FAILED错误的方法

ssh登陆Linux服务器的时候,如果出现了Host key verification failed的错误,需要清空下本地ip密码记录。

出现这个错误,我只在mac下遇到过,win系统并没有。

具体方法,直接用命令也行:

cd ~/.ssh
rm known_hosts

就好了,然后退回来继续链接登录。

Share

小 虾

哦也,我是小虾

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.