24

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

  • 3
    It's worth pointing out that you can also save changes to the Default Settings session, which will then be applied to all new sessions you create. You need never see that horrible default font again :) – Colin Pickard Mar 25 '11 at 11:08
21

You need to go "Change Settings -> Window" and set it there.

Do the same under Appearance for the font and size. Then go back to the session and save it.

  • The link is dodgy but the answer seems correct. – vikingsteve Sep 15 '16 at 8:44
11

Once you are done with your appearance and font settings save that to Default Settings. 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.

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.

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.

  • 1
    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
0

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.
-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

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.