|
在linux系统下,我们经常需要远程连接到某个服务器,以进行大量的运算,但是在连接的过程中,也会出现一些错误,如下:
tao@Tao-PC:~$ ssh yangtz@119.78.162.44
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
ac:fb:49:a7:14:33:af:38:01:78:be:c2:2e:70:67:13.
Please contact your system administrator.
Add correct host key in /home/tao/.ssh/known_hosts to get rid of this message.
Offending RSA key in /home/tao/.ssh/known_hosts:1
remove with: ssh-keygen -f "/home/tao/.ssh/known_hosts" -R 119.78.162.44
RSA host key for 119.78.162.44 has changed and you have requested strict checking.
Host key verification failed.
此时按照里面的提示,在终端输入如下命令:
ssh-keygen -f "/home/tao/.ssh/known_hosts" -R 119.78.162.44
即可解决问题,重新登陆就可以啦。
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-12-21 22:49
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社