ssh 접속시 아래 메세지와 같이 나오면서 접속자체가 거부될때 해결 방법 입니다.
/home/유저명/.ssh 폴더에 가신후 known_hosts 파일을 삭제해 주시면 됩니다.
^[[Axx@xxx:~$ ssh -p xxxx xxxx@xxxx.xxx.xxx
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: POSSIBLE DNS SPOOFING DETECTED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The ECDSA host key for [xxx.co.kr]:xxxx has changed,
and the key for the corresponding IP address [xxx.xxx.xxx.xx]:xxxx
is unknown. This could either mean that
DNS SPOOFING is happening or the IP address for the host
and its host key have changed at the same time.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
Please contact your system administrator.
Add correct host key in /home/xxx/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /home/xxx/.ssh/known_hosts:12
remove with: ssh-keygen -f "/home/xxx/.ssh/known_hosts" -R [xxxx.co.kr]:xxxx
ECDSA host key for [xxxx.co.kr]:xxxx has changed and you have requested strict checking.
Host key verification failed.