WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

SSW·2023년 1월 7일
0

Trouble Shooting

목록 보기
3/7
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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.

ssh 원격 접속을 할 때 위와 같은 error 메세지가 나온다면

$ ssh-keygen -R 사용하는ip

위의 명령어를 입력한 후

$ ssh ubuntu@ip

위의 명령어로 원격 접속 명령어를 입력하면

Are you sure you want to continue connecting (yes/no)?

라는 말이 나오며 yes를 입력해주면 성공적으로 원격 접속이 된다.

profile
ssw

0개의 댓글