강좌 & 팁
안녕하세요. 송기석입니다.
요즘 회사 이전으로 이것 저것 정리하느라 바쁩니다.
오늘은 갑자기 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! 메시지를 보게 되어 이것을 해결한 방법을 올립니다.
다음과 같이 접속을 시도 하니 문제가 발생하였습니다.
# ssh falinux@192.168.1.1
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
17:9d:90:ef:42:4f:46:1e:42:5c:ec:78:7d:dd:38:22.
Please contact your system administrator.
Add correct host key in /home/ksskor/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /home/ksskor/.ssh/known_hosts:42
remove with: ssh-keygen -f "/home/ksskor/.ssh/known_hosts" -R 192.168.1.1
ECDSA host key for 192.168.1.1 has changed and you have requested strict checking.
Host key verification failed.