其他分享
首页 > 其他分享> > WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

作者:互联网

原因是系统出现了变故原来的ssh公钥变了导致连接不上。

解决:

ssh-keygen -R 服务器IP地址

(会出现下面提示)
# Host 192.168.200.6 found: line 1
C:\Users\Administrator/.ssh/known_hosts updated.
Original contents retained as C:\Users\Administrator/.ssh/known_hosts.old

再次连接会提示yes/no,输入yes连接成功

ssh root@服务器IP

标签:Administrator,Users,HOST,WARNING,IDENTIFICATION,ssh,known,hosts,yes
来源: https://www.cnblogs.com/lfl17718347843/p/15350971.html