Computer System/Linux

[Linux] ssh 에러 로그 별 해결법

해리팍 2014. 10. 13. 17:24
반응형

1. ssh: connect to host ip주소 port 22: No route to host


->


IP가 틀린 경우 or 해당 컴퓨터가 멈춰있는 경우입니다.


접속하려는 컴퓨터의 상태를 확인하세요.



2. 


@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@    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

.

.

.

ECDSA host key for IP 주소 has changed and you have requested strict checking.

Host key verification failed.



->


같은 Mac 주소를 가지고 있는 컴퓨터의 상황이 바뀌었을 때 (예 - OS 재설치, IP 주소 변경) 발생하는 현상입니다.


해결법은 다음의 명령어를 입력하시면 됩니다.


# ssh-keygen -R [IP주소]

반응형