使用sftp命令sftp 用户名@ip登录文件服务器报错:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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:2+8NzJZ7DTeu1rAa6fyx9s5/YreZSTwU7CanoXhjeew.
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:5
ECDSA host key for 192.168.202.117 has changed and you have requested strict checking.
Host key verification failed.
Couldn't read packet: Connection reset by peer
解决 :进入 /root/.ssh 目录 ,打开 known_hosts 文件 删掉 sftp对应那一行。



2万+

被折叠的 条评论
为什么被折叠?



