Linux

[Linux] ssh 접속 시 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! 발생한 경우

S0PH1A 2019. 6. 12. 14:10
반응형

[Linux] 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 RSA key sent by the remote host is f9:64:1a:19:11:85:d4:06:d9:47:7f:f7:da:50:8a:f9. Please contact your system administrator. Add correct host key in /Users/CPUU/.ssh/known_hosts to get rid of this message. Offending RSA key in /Users/CPUU/.ssh/known_hosts:2 RSA host key for 192.168.0.7 has changed and you have requested strict checking. Host key verification failed.

 

RSA 공유키 충돌 문제이다.

아래 명령어를 통해 초기화 가능하다.

$ ssh-keygen -R [ IP or DomainName]

 

 

 


[출처] https://cpuu.postype.com/post/30065

반응형