解决 ssh报错的方法

Server 林涛 20126℃ 0评论

在系统中不知怎么的出现了ssh,scp程序报错的问题,出现一系列的乱码,这里给出解决办法

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@    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

SHA256:e7MgJIwJ986iNnX33BfEzk0b3xP2QnX9pdGV7r2dsRs.

Please contact your system administrator.

Add correct host key in /Users/zuiw/.ssh/known_hosts to get rid of this message.

Offending RSA key in /Users/zuiw/.ssh/known_hosts:1

RSA host key for 192.168.31.100 has changed and you have requested strict checking.

Host key verification failed.

解决方案:

 cd ~/.ssh  

 rm known_hosts 

以上就是解决ssh,scp程序报错的问题,

如需转载请注明: 转载自26点的博客

本文链接地址: 解决 ssh报错的方法

转载请注明:26点的博客 » 解决 ssh报错的方法

喜欢 (0)
发表我的评论
取消评论

表情