在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

相关文章:

  • 2021-08-18
  • 2021-09-21
  • 2021-12-31
  • 2021-09-15
  • 2022-12-23
  • 2021-06-02
  • 2021-04-04
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-10
  • 2022-12-23
  • 2021-10-20
  • 2021-11-10
  • 2022-12-23
相关资源
相似解决方案