Host key verification failed 대처

Talk/MAC 2018.07.04 08:51

ssh 접속할 때 'Host key verification failed.' 메시지가 보인다면


고민할 것 없이 sudo ssh-keygen -R <IP>




@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@    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:xXxxx6M48JB4exxxx+ZHjlY3Abo1tDaPhiSw3xxxxxY.

Please contact your system administrator.

Add correct host key in /var/root/.ssh/known_hosts to get rid of this message.

Offending ECDSA key in /var/root/.ssh/known_hosts:40

ECDSA host key for 192.168.56.112 has changed and you have requested strict checking.

Host key verification failed.



sudo ssh-keygen -R 192.168.56.112

'Talk > MAC' 카테고리의 다른 글

Host key verification failed 대처  (0) 2018.07.04
Mac 기반 개발을 위한 터미널 셋팅  (0) 2018.02.14
iTerm2 color  (0) 2016.06.28
Trackbacks 0 : Comments 0