SSH 连接提示: WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

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

@    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:N+I+ydgkzr/EZnZrGxdBSXhFxlNPQmh6GufOxsrBpjc.

Please contact your system administrator.

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

//添加正确的主机密钥 

Offending ECDSA key in /Users/poison/.ssh/known_hosts:4

//ECDSA密钥出错

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

//124.70.190.01的ECDSA主机密钥已更改,您已请求严格检查

Host key verification failed.

//提示了密钥更改 那处理方法就是删除以前的密钥 让它自动从新写入

//在你的命令框输入

Poison-MacBook:~ poison$ vi ~/.ssh/known_hosts

进去里面 删除 对应的IP下的内容 

从新ssh 登陆即可

ssh root@ip

提示yes/no

直接输入yes

输入密码 就上去了

你可能感兴趣的:(liunx,php,ssh,php,linux)