在Windows 8上删除旧的SSH密钥 - sublime-text + sftp

时间:2013-08-22 20:09:54

标签: windows-8 ssh sublimetext2

我需要删除旧的ssh密钥,但我不知道目录的位置。崇高的控制台说明如下。

SSH主机密钥已更改。这可能表示潜在的安全漏洞,或者您连接到最近移动的服务器的域。 如果您确信这不是安全漏洞,则可以删除旧的主机密钥,然后重试。  1. Win XP:开始>运行> REGEDIT.EXE     赢得Vista / 7:开始>注册表编辑器  2.展开到HKEY_CURRENT_USER \ Software \ SimonTatham \ PuTTY \ SshHostKeys并删除包含@ 22的条目:example.com

问题是Windows 8没有解决方案:/

非常感谢您的支持!

1 个答案:

答案 0 :(得分:0)

从ComboFix.org剪辑“How to Open the Registry Editor in Windows 8”:

Step 1: If you are on the Windows 8 desktop, point the cursor at the lower right 
corner of the screen. Click the “Search” option as soon as it pops up on the 
left-side of the screen. If you are on the Metro UI Start Screen, point the 
cursor at the lower left corner of the screen and click the right mouse button. 
Now select the “Search” option on the context menu.

Step 2: When you perform either of the above actions, Windows 8 will load 
the “Apps” screen. Type “regedit” into the search bar located on the right 
side of the “Apps” screen.

Step 3: Click the “regedit” search result on the left side of the “Apps” 
screen. If you see a UAC dialog box, click “Yes” to open the 
Windows 8 Registry Editor.

在此之后,只需展开到HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\SshHostKeys并删除所需的条目,包括@ 22:domain.tld

希望这有帮助。