標籤:
錯誤背景:
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
【sublime xftp外掛程式】 Host key verification failed ,錯誤處理