다음 명령을 사용하여 원격 컴퓨터의 데이터를 내 컴퓨터로 복사하려고 합니다.
-bash-4.1$ scp gouda@csopt5:/home/gouda/bin/fort.20 home/gouda/Desktop
but I got this message and I couldn't copy my file fort.20.
how to solve this problem
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: POSSIBLE DNS SPOOFING DETECTED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The RSA host key for csopt5 has changed,
and the key for the corresponding IP address 172.17.4.15
is unchanged. 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.
Offending key for IP in /etc/ssh/ssh_known_hosts:4
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
1b:a0:e7:43:0d:98:a6:42:01:52:9b:af:f9:d6:08:1c.
Please contact your system administrator.
Add correct host key in /home/gouda/.ssh/known_hosts to get rid of this message.
Offending key in /home/gouda/.ssh/known_hosts:3
RSA host key for csopt5 has changed and you have requested strict checking.
Host key verification failed.
답변1
내 오류는 폴더 내부에서 복사하려고 할 때 발생합니다. 파일 내부 대신 파일 외부에서 scp를 사용해야 합니다. 노력해주신 모든 분들께 감사드립니다.
답변2
- /home/yourusername/.ssh/로 이동합니다.
- "known_hosts" 파일을 열고 내용을 지웁니다.
- 문서 저장
- SSH 명령을 다시 시도하세요.
- ???
- 이익