鸿 网 互 联 www.68idc.cn

mac终端下ssh虚拟机中的linux提示WARNING: REMOTE HOST IDENTIFI

来源:互联网 作者:佚名 时间:2018-01-28 09:56
重新装了虚拟机中的Linux系统后,在mac下ssh就连不上虚拟机了localhost:~ zhouqian$ ssh root@172.17.9.19@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

重新装了虚拟机中的Linux系统后,在mac下ssh就连不上虚拟机了   localhost:~ zhouqian$ ssh root@172.17.9.19 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @    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 RSA key sent by the remote host is SHA256:R39mwf8XE+j45CoUtVB1F/TOc2s+y52elDMraoFgmq8. Please contact your system administrator. Add correct host key in /Users/zhouqian/.ssh/known_hosts to get rid of this message. Offending RSA key in /Users/zhouqian/.ssh/known_hosts:2 RSA host key for 172.17.9.19 has changed and you have requested strict checking. Host key verification failed. 解决方法: 删除本机目录中/Users/zhouqian/.ssh/known_hosts的172.17.9.19开头的部分  localhost:.ssh zhouqian$ cat known_hosts 172.17.13.70 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFDTzpU3PXFxxbkvHgZPgwpKBSoxULd4tD+k40Dj0ojnCoH9N6z3/Va50qBilmg7QcSH3TGGInpWhSCPD8yD6qo= 172.17.9.19 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEArUC9XhvWTKdMAdIiHD0mmG7EsyOFAEXAorN+p5eqdmVO+oE7L0u0VOpeezRiv7QtrajEBoEX7sj2NncFjnAxokB79eaJ7guPEXU3HixTjtJiaUHUWlPv/sv1dnw1XlflTUDOcHhyHsog/0qwNgP30wVNoHF+o8it05g/HwY4bkdbaOong+CueFnk2+NOQKfEJ1NGQzHUiTZ7awt4o5OxvyoDWkRGP9Hw0jNlcFxDAlISQQkuWqOUcbfG6drrQ4kqQz2ZurOTpbk9RDUGm8+l1/CH4zq4cdx0Cs94bXKMWyJVTjKPO6fRvRvL5ABeZsldu2r1nJMAEfJcdlw+4hyiow== localhost:.ssh zhouqian$ cp -a known_hosts /Users/zhouqian/known_hosts_bak
网友评论
<