[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_USER\Software\SimonTatham\PuTTY\SshHostKeys and delete the entry including @22:www.xxxx.club

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

错误解决办法:

1、ctrl + R ,输入 regedit

2、删除HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\SshHostKeys下的@22:www.xxxx.club

标签: nodejs, sublime, xftp

本作品采用《CC 协议》,转载必须注明作者和本文链接
zhaozhangxiao
讨论数量: 0
(= ̄ω ̄=)··· 暂无内容!

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!