0

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

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

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

已经感谢您的支持!

4

1 回答 1

0

摘自 ComboFix.org “如何在 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

希望这可以帮助。

于 2013-08-22T20:20:39.960 回答