之前用ssh連一台電腦 己產生了一組金鑰 但同台電腦又重灌了所以 ==>結果如下
===================
up@upright:~$ ssh up@192.168.2.16
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
Please contact your system administrator.
Add correct host key in /home/up/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /home/up/.ssh/known_hosts:4
remove with:
ssh-keygen -f "/home/up/.ssh/known_hosts"
-R 192.168.2.16
ECDSA host key for 192.168.2.16 has changed and you have requested strict checking.
Host key verification failed.
=================
解決如下
ssh-keygen -R 192.168.2.16