วันอาทิตย์ที่ 19 พฤศจิกายน พ.ศ. 2560

SSH warning - WARNING: REMOTE HOST IDENTIFICATION HAS CHANGE

This a problem that can not access raspberry PI by ssh

MacBook-Pro-de-myname:~ myname$ ssh pi@192.168.xx.xx @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ 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 RSA key sent by the remote host is bx:fa:bx:b4:51:fe:xe:c7:1f:xx:ff:bf:4a:47:68:4a. Please contact your system administrator. Add correct host key in /Users/myname/.ssh/known_hosts to get rid of this message. Offending RSA key in /Users/myname/.ssh/known_hosts:1 RSA host key for 192.168.xx.xx has changed and you have requested strict checking. Host key verification failed.


1.
Need to delete perious ssh name in MAC (because Mac remember the old one)

You only need to code this on terminal
>> ssh-keygen -R {RPi-IP-Address}


ไม่มีความคิดเห็น:

แสดงความคิดเห็น