아무거나

[ubuntu] rsync 명령으로 원격지에 배포할때 ssh키 관련해서 오류나는 현상 본문

Infra/Linux & Unix

[ubuntu] rsync 명령으로 원격지에 배포할때 ssh키 관련해서 오류나는 현상

전봉근 2019. 3. 22. 10:10
반응형

[에러내용]

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

@    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:uiUqOvBD+ceRHus7VUY12rtr55Z7hpkTDafAXfg2r/U.

Please contact your system administrator.

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

Offending ECDSA key in /root/.ssh/known_hosts:14

  remove with:

  ssh-keygen -f "/root/.ssh/known_hosts" -R {호스트}   // 여기!!!!!!

ECDSA host key for 52.79.141.160 has changed and you have requested strict checking.

Host key verification failed.

rsync: connection unexpectedly closed (0 bytes received so far) [sender]

rsync error: unexplained error (code 255) at io.c(226) [sender=3.1.1]

 

// 리눅스 known hosts에서 호스트키 삭제​

ssh-keygen -f "/root/.ssh/known_hosts" -R {호스트}​ 

반응형
Comments