- Launch putty.exe
- On the PuTTY configuration box, select Default Settings.
- Verify Port is set to 22 and click Save.
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