连接ssh报错 remote host identification has changed

报错 remote host identification has changed
原因:远程的VPS重新装机了,跟本地的key不一致了
解决方法:vi .ssh/known_host 修改.ssh/目录下的known_host文件,将该主机(104.XXX.XXX.XX)删掉。

如图所示

猜你喜欢

转载自blog.csdn.net/qq_43140843/article/details/91583257