SSH Linux “REMOTE HOST IDENTIFICATION HAS CHANGED”
ไม่สามารถ ssh
ตัวอย่าง
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ 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 the RSA host key has just been changed. The fingerprint for the RSA 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/scott/.ssh/known_hosts to get rid of this message. Offending key in /home/scott/.ssh/known_hosts:15 RSA host key for 1.2.3.4 has changed and you have requested strict checking. Host key verification failed.
วิธีการแก้ไข
ssh-keygen -R [HOSTNAME]
ssh-keygen -R [IP_ADDRESS]
rekey ใหม่
เรียบร้อย ssh ใหม่ได้