使用Mac终端命令远程登录阿里云遇到的问题

版权声明: https://blog.csdn.net/ksksjipeng/article/details/54986016

在使用Mac命令ssh登录阿里云出现一个错误

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 07:8b:1d:ec:27:38:f8:de:9c:06:c5:3f:66:b4:05:f1. Please contact your system administrator. Add correct host key in /var/root/.ssh/known_hosts to get rid of this message. Offending RSA key in /var/root/.ssh/known_hosts:1 RSA host key for xxx.xxx.xxx.xxx has changed and you have requested strict checking. Host key verification failed.

解决办法,就是删除/var/root/.ssh/known_hosts文件,即可,重新登登录

Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-57-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

Welcome to Alibaba Cloud Elastic Compute Service 

猜你喜欢

转载自blog.csdn.net/ksksjipeng/article/details/54986016
今日推荐