SSH登录服务器提示Host key verification failed
最近重装系统后 ssh连接服务器提示如下内容 `
ECDSA host key for x.x.x.x has changed and you have requested strict checking.
Host key verification failed.
一番搜寻后得到如下解决办法:
打开cmd输入
ssh-keygen -R 服务器ip
如ssh-keygen -R 1.1.1.1
意思是 清除本地的公钥信息
执行后就可以重新连接上了