Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


  1. Launch putty.exe
  2. On the PuTTY configuration box, select Default Settings.
  3. Verify Port is set to 22 and click Save.
  4. Close.

Fix the issue of "the server's host key not cached"

In the Windows command line, do the following, for example,


The server's host key is not cached in the registry. You
have no guarantee that the server is the computer you
think it is.
The server's rsa2 key fingerprint is:
ssh-rsa 2048 2e:db:b6:22:f7:bd:48:f6:da:72:bf:59:d7:75:d7:4e
If you trust this host, enter "y" to add the key to
PuTTY's cache and carry on connecting.
If you want to carry on connecting just once, without
adding the key to the cache, enter "n".
If you do not trust this host, press Return to abandon the
Store key in cache? (y/n)

Just answer y, and then Ctrl+C the rest.

Test SSH key authentication

  1. Launch putty.exe
  2. Enter the remote server Host Name or IP address under Session.
  3. Navigate to Connection > SSH > Auth.
  4. Click Browse... under Authentication parameters / Private key file for authentication.
  5. Locate the id_rsa.ppk private key and click Open.
  6. Finally, click Open again to log into the remote server with key pair authentication.

Articles connexes

Content by Label
cqllabel in ("login","ssh") and type = "page" and space = "DOC"
labelsssh login