您的位置:首页 > 运维架构 > Linux

SSH连接远程服务器(Linux-Centos)以及出现问题解决

2016-07-07 10:29 1131 查看
$ ssh -l 用户名 XXX.XXX.XXX.XXX

出现以下问题:

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

@    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 ECDSA key sent by the remote host is

SHA256:JAeh+bV8B7EAb70h4CtddugiALCDmhXSNapc3/6+/+w.

Please contact your system administrator.

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

Offending ECDSA key in /Users/LiuMingchuan/.ssh/known_hosts:7

ECDSA host key for 121.43.169.99 has changed and you have requested strict checking.

Host key verification failed.

解决办法:

$ rm ~/.ssh/known_hosts
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: