본문 바로가기
시스템

REMOTE HOST IDENTIFICATION HAS CHANGED!

by @developer.kye 2023. 8. 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 the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
-생략-
Please contact your system administrator.
Add correct host key in /home/warren/.ssh/known_hosts to get rid of this message.
Offending key in /home/warren/.ssh/known_hosts:1
RSA host key for -생략(ip)- has changed and you have requested strict checking.
Host key verification failed.

서버를 다른 디바이스로 바꾼다던가 하는 이유로 위 에러가 날 수 있다.

이럴 때는 다음과 같이 다시 keygen을 생성해주면 된다.

ssh-keygen -R [ IP or DomainName]

ex) ssh-keygen -R XXX.XXX.XXX.XXX

'시스템' 카테고리의 다른 글

buff/cache 양이 너무 많을 때  (0) 2023.03.06
vi 초급을 벗어나보자 (1차)  (0) 2022.10.18
tcpdump 활용 명령어  (0) 2022.08.04
diff 옆으로 나란히 비교하기  (0) 2022.07.28
프로세스 트리 보는 명령어  (0) 2022.07.26