2011년 2월 18일 금요일

ssh 접속 안될 때

root@jin-laptop:~# ssh jinseok@192.168.0.7 -p 22

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

@    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

00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00..

Please contact your system administrator.

Add correct host key in /root/.ssh/known_hosts to get rid of this message.

Offending key in /root/.ssh/known_hosts:1

RSA host key for 192.168.0.7 has changed and you have requested strict checking.

Host key verification failed.

리눅스 서버를 한번 밀고 나서 재설치 했다.

원격접속 하려니까 길다란 문장이 뜨고 나서 안되는 거 아닌가?

인터넷 검색을 찾아보니 /root/.ssh/known_hosts를 지워 주란다.

재접속 해보니

RSA key fingerprint is 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00..

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

RSA key를 채취할 거냐고 묻는다.

결론은 yes

댓글 없음:

댓글 쓰기