A PuTTY session groups connection and terminal settings for a server. Saving a named session preserves these settings so they can be loaded for later connections.

Named session restored in PuTTY on Linux

The PuTTY Configuration window treats the current selections as a working set of options until they are written to a named entry under Saved Sessions. Clicking Save stores the current values into that session name, while Load restores a saved session back into the configuration window. Session profiles can include host/port, terminal behaviour, keepalives, proxy configuration, and private key paths.

Session changes are not saved automatically, and closing PuTTY discards unsaved edits. Saved profiles do not store the SSH login password. A proxy password entered under Connection → Proxy is different and is saved in plain text, so anyone with access to the configuration can read it.

Steps to save session settings in PuTTY:

  1. Launch PuTTY.
  2. Select Session in the category tree.
  3. Load the existing profile from Saved Sessions if you are updating one.
  4. Enter the server Host Name (or IP address).
  5. Select the required Connection type.
  6. Enter the Port number for the service.
  7. Set any additional options that should persist for the connection.

    Common saved options include Connection → Data for the Auto-login username, Connection → SSH → Auth → Credentials for a .ppk key in Private key file for authentication, and Window for terminal dimensions. A private-key path points to a separate key file; it does not copy the key into the profile.

  8. Return to the Session category.
  9. Type the desired profile name in the Saved Sessions field.

    Saving under an existing name replaces that profile immediately; a new name preserves the original. Saving over the selected Default Settings entry changes the initial options for new sessions.

  10. Click Save to store the session profile.

    On Windows, profiles belong to the current user account and are stored in that user's registry.

  11. Close PuTTY.
  12. Reopen PuTTY.
  13. Load the saved profile from Saved Sessions.
  14. Check that Host Name (or IP address), Port, Connection type and any option you changed show the values you saved.
Share this guide