I have the RSA version 2 public key from the server I want to connect to. Where do I save this key so I can verify the identity of the server?
My public key is like:
ssh-rsa AAAAN7ZZHjhUKjKxU...
See Calculate RSA key fingerprint.
See also a relevant section of WinSCP FAQ on host keys.
You can execute the ssh-keygen
on any *nix machine, you have an access to.
Or you can download 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), no installation is need.