터미널에서 ssh 접속을 10.10.10.254로 하려고 했으나 기존에 교환 받은 값과 틀리다고 하면서 접속이 안되었습니다. 

물론 해킹이 아닌 제가 서버를 교체하였기 때문에 기존 값과 매칭이 안되는 것이었지요.



s-iMac:~ admin$ ssh root@10.10.10.254

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

@    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 RSA key sent by the remote host is

SHA256:ZOWSAc4oYi5DjSaQXEdWOaIfXNmrsonkVV0BirkeAvI.

Please contact your system administrator.

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

Offending RSA key in /Users/admin/.ssh/known_hosts:1

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

Host key verification failed.


아래 명령어로 기존 값을 제거하면 됩니다.


ssh-keygen -R 10.10.10.254



+ Recent posts