錯誤背景:
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