잘 접속하던 서버에 어느날 갑자기 뜬 에러
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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:PUbdexxvgKNYkzTQdaqb6ufFA0tycIZEJnliWXpBFd8.
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:33
ECDSA host key for ec2-52-78-191-229.ap-northeast-2.compute.amazonaws.com has changed and you have requested strict checking.
Host key verification failed.
EC2 접근시 나왔던 에러인데, 다른 서버에서도 같은 상황에 비슷한 에러 발생 할 수 있을것 같다.
EC2의 경우에는 같은 아이피에 인스턴스를 바꾸게 되면 이와 같은 에러가 나온다고 한다.
#해결방법
1. sudo vi /var/root/.ssh/known_hosts 실행
2. 해당 파일 안의 접속이 불가한 아이피를 조회해서 삭제 후 저장
3. 다시 접속하면 깔끔하게 연결완료
'정보기술, IT > IT source' 카테고리의 다른 글
Genymotion(지니모션) 문제해결 - unable to load virtualbox engine. Make sure that it is property installed before starting Genymotion (0) | 2016.03.03 |
---|---|
android 패키지명 변경하기. (0) | 2016.01.13 |
안드로이드 EventBus Library sample 프로젝트 (0) | 2015.12.16 |
EventBus 스레드 모드 종류 (0) | 2015.12.15 |
html 화면 컨텐츠 외에 불필요한 스크롤 없애기 (0) | 2015.09.24 |