49

When I log in with PuTTY, I always have to:

  • change settings
  • appearance
  • font
  • change
  • 8
  • resize window

so that I can see enough text to work with the log files.

I don't see where I can save these settings to my saved session. Is this possible?

alt text


Answer:

So the answer is click on change settings, change everything but then you have to also click on session the name again and save, thanks David:

alt text

Dave M
  • 4,494
  • 21
  • 30
  • 30
Edward Tanguay
  • 1,139
  • 4
  • 20
  • 30

6 Answers6

40

You need to go "Change Settings -> Window" and set it there. Do the same under Appearance for the font and size.

Change Settings menu item

Then go back to the session and save it.

PuTTY Reconfiguration dialog

TristanK
  • 8,953
  • 2
  • 27
  • 39
25

Once you are done with your appearance and font settings save that to Default Settings session. This will help all your next session to open with the default settings you saved. Otherwise, you need to do this for every new server you added other than the saved ones.

enter image description here

checksum
  • 945
  • 1
  • 10
  • 15
Surender
  • 251
  • 3
  • 2
2

If you have multiple saved sessions and you wish to change them all at once, there is a way.

  1. Open the Windows registry editor by running regedit.exe (requires privilege escalation).
  2. Navigate to the registry key HKEY_CURRENT_USER\Software\SimonTatham\PuTTY
  3. Right click on the PuTTY registry key and choose Export. Place the file wherever you please. Name it something like putty.reg. Very important, make sure you have only exported this one key, and not the entire registry. You might like to place this .reg file in Dropbox or other cloud storage as a backup, or to copy your session info to other machines.
  4. I recommend now making a duplicate of the original file (in Explorer, copy then paste in-place) for diffing or other comparison before you load it back in.
  5. Open putty.reg. Use search/replace to fix entries. If certain sessions do not contain the overrides from default you desire, add them.
  6. Save putty.reg.
  7. For safety, I recommend using a diff tool to compare putty.reg with the copy you made to ensure you didn't change anything you did not intend to.
  8. Finally, double-click putty.reg in Explorer to overwrite the existing registry settings.
Larry Silverman
  • 547
  • 6
  • 12
  • Actually it's easier: The Sessions are stored in `HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions`, and the font is stored in `Font` there. – U. Windl Feb 03 '21 at 10:55
1

Other things that I change are scroll back buffer size (mine is 32k) and logging. This can be very handy in the event of a crash, or just in case it overflows that buffer. I use the portableapps version of putty, and often have as many as 6 windows open, with no issues.

Ronald Pottol
  • 1,683
  • 1
  • 11
  • 19
1

This works with Kitty Portable, I don't know if it applies to Putty Portable:

I had 51 preconfigured sessions and wanted to change window size for all of them. There is no settings option to achieve this, but you can do this:

  • Get a text editor that can search and replace in files (PsPad / Notepad++, ...)
  • Search and replace in all configuration files in this folder: C:\[Kitty/Putty Installation directory]\Sessions\
  • Examples:
    • For window height, change TermHeight\24\ to TermHeight\40\
    • For window width, change TermWidth\80\ to TermWidth\120\
    • ... and so on. Font is Font\<Fontname>, Font size is FontHeight\10 ...

Needless to say Putty might be installed on another drive and you are allowed to choose your own values.

Mateng
  • 141
  • 4
  • 3
    It appears you are using KiTTY, which is a fork of PuTTY. KiTTY may store its session on disk, but PuTTY stores them in the Windows Registry. I believe the portable version of PuTTY, which is launched with a different .exe, will persist the session info to disk on exit. – Larry Silverman Feb 16 '18 at 16:32
  • You are right - I use Kitty Portable. So the difference is probably based on the protable alternative. I'll edit my answer to make that clear. – Mateng Feb 24 '18 at 11:17
-2

Actually it's very simple:

  1. click on 'Session', Load desired one (click on "LOAD" button)
  2. click on 'Window', adjust then desired values within 'Appearance', 'Colours',..
  3. click again on 'Session', and click on "SAVE" button!

It's ready! Values are saved to your desired session.

If want to do this as permanent for the - Default session, click on it and do the above. Each saved session should be adjust separately!

BR, Miro

Miro
  • 1