使用 public RSA 密钥验证服务器

Verify the server using the public RSA key

我从要连接的服务器获得了 RSA 版本 2 public 密钥。我在哪里保存此密钥以便我可以验证服务器的身份?

我的 public 键是这样的:

ssh-rsa AAAAN7ZZHjhUKjKxU... 

参见Calculate RSA key fingerprint

另请参阅 relevant section of WinSCP FAQ on host keys


您可以在任何您有权访问的 *nix 机器上执行 ssh-keygen

或下载Microsoft build of OpenSSH for Windows. On Windows 10 version 1803 or newer, you already have OpenSSH built-in. On older versions of Windows 10, it can be installed as an optional Windows feature. On older versions of Windows, you can just extract the ssh-keygen.exe from a .zip (latest release),无需安装