yangtaozhi的个人博客分享 http://blog.sciencenet.cn/u/yangtaozhi

博文

linux远程连接服务器出现错误

已有 2982 次阅读 2017-11-6 17:33 |系统分类:科研笔记

在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

即可解决问题,重新登陆就可以啦。



https://wap.sciencenet.cn/blog-807279-1084053.html

上一篇:Latex中实现表格和图片的跨栏显示
下一篇:运行MESA中计算频率出现的错误解决方法
收藏 IP: 210.73.36.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-12-22 03:00

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部