본문 바로가기

Talk/MAC_apple

Host key verification failed 대처

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_apple' 카테고리의 다른 글

MAC에서 PPT 자동저장이 계속 뜨는 경우  (0) 2018.12.11
Mac 기반 개발을 위한 터미널 셋팅  (0) 2018.02.14
iTerm2 color  (0) 2016.06.28