錯誤背景:
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.
- Win XP: Start > Run > regedit.exe
Win Vista/7: Start > regedit - 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
本作品採用《CC 協議》,轉載必須註明作者和本文連結