반응형
scp로 파일 긁어올때 다음과같은 에러가 났다.
참고로 소스 pc는 포맷을 했던 상태라 호스트 키 변경이 있었나보다.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: POSSIBLE DNS SPOOFING DETECTED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The ECDSA host key for ***.com has changed,
and the key for the corresponding IP address ***.***.***.***
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
SHA256:bS3YVX************************************
Please contact your system administrator.
Add correct host key in /Users/******/.ssh/known_hosts to get rid of this message.
Offending ED25519 key in /Users/******/.ssh/known_hosts:37
ECDSA host key for seoirim.com has changed and you have requested strict checking.
Host key verification failed.
이때는 당황하지않고 레거시 호스트키를 삭제하고 다시 갱신하면 해결된다.
sudo ssh-keygen -f "/your/known_hosts/path -R xxx.xxx.xxx
반응형
'리눅스' 카테고리의 다른 글
Visual Studio Code 한글 입력 불가 해결 (0) | 2022.10.01 |
---|---|
E: Sub-process /usr/bin/dpkg returned an error code (2) 에러 해결 방법 (0) | 2022.03.31 |
rar 압축 풀기 (0) | 2021.03.25 |
scp 파일 전송 (0) | 2021.03.25 |
purge vs remove (0) | 2021.02.16 |