【sublime xftp插件】 Host key verification failed ,错误处理

错误背景:

1、CentOS7上面作为运行环境,Coding在本机的windows环境

2、在windows上安装sublime 3,然后保存代码通过xftp保存到centos7虚机上面。

3、Centos重装系统后,把代码保存的目录调整了一下

4、然后时间sublime 下载新目录的代码,然后就报错了

错误内容:

Connecting to SFTP server "www.xxxx.club" as "root" ............... failure (Host key verification failed)
The SSH host key has changed. This could indicate a potential security breach, or that the domain you are connecting to recently moved servers.
If you are confident this is not a security breach you can delete the old host key and try again.
 1. Win XP: Start > Run > regedit.exe
    Win Vista/7: Start > regedit
 2. Expand to HKEY_CURRENT_USERSoftwareSimonTathamPuTTYSshHostKeys and delete the entry including @22:www.xxxx.club

 原因:因为sublime 在windows的注册表中把www.xxxx.club的值注册,不能重新注册。

错误解决办法:

1、ctrl + R ,输入  regedit

2、删除HKEY_CURRENT_USERSoftwareSimonTathamPuTTYSshHostKeys下的@22:www.xxxx.club

原文地址:https://www.cnblogs.com/ficohu/p/5593674.html