ssh localhost报错:Host key verification failed.

正文开始

Please contact your system administrator. Add correct host key in /root/.ssh/known_hosts to get rid of this message. Offending RSA key in /root/.ssh/known_hosts:1 remove with: ssh-keygen -f "/root/.ssh/known_hosts" -R "localhost" RSA host key for localhost has changed and you have requested strict checking.

正文结束

Xshell实现Windows上传文件到Linux主机 Ubuntu 18.04 完全重装 ssh服务