How to save IP or machines in Putty

To store server information PuTTY supports the concept of Sessions. You can save and load sessions using the Load and Save buttons on the main GUI. Sessions, however, do not store passwords. If you need to have password-less login I would suggest setting up a public-private key pair and use that to login instead of the traditional interactive login.

  • Using public keys for SSH authentication
  • Setting up a machine to use a key over SSH
  • generate authentication key for ssh

When you first open the program under the Session's tab there's an area called Saved Sessions. Just fill in your Host Name (or IP address) section, your Port, and select your Connection -> SSH -> Auth -> SSH Key. Then put a meaningful name under the Saved Sessions box and click the Save button. It'll then show up in the list next to the Default Settings and you can just click on the saved server now and click Open and it's saved. Here's one I did called Airflow Server.

enter image description here

Side-Note: I wish Putty would let us put in a username too but oh well...


You can use WinSCP (free) to save IPs, usernames and passwords. I find it more convenient (e.g. the list is larger, IPs can be grouped, and one can also connect through FTP or SFTP).

enter image description here

Tags:

Ssh

Profile

Putty