在windows下用scp命令copy时报错:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ 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:1jZjQNCdNCNldv7GVl62rQKQWOQohqpdLJ2V0FcIsCE. Please contact your system administrator. Add correct host key in C:\\Users\\sys_eval/.ssh/known_hosts to get rid of this message. Offending RSA key in C:\\Users\\sys_eval/.ssh/known_hosts:4 RSA host key for 10.239.54.77 has changed and you have requested strict checking. Host key verification failed.
解决方案:
(删除本地机ssh缓存信息,即可恢复)
ssh-keygen -R 远程ip
# Host 10.239.54.77 found: line 4
C:\Users\sys_eval/.ssh/known_hosts updated.
Original contents retained as C:\Users\sys_eval/.ssh/known_hosts.old