@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
輸入密碼 就上去了