How to save Putty output Automatically

PuTTY is a popular terminal emulator that allows you to connect to remote servers. One of the useful features of PuTTY is its ability to save the output of your sessions. This can be helpful for troubleshooting problems, documenting your work, or simply keeping a record of your interactions with remote servers.

In this blog post, I will show you how to save PuTTY output without plagiarism. I will also provide some tips for using the PuTTY logging features effectively.

Configuring Putty:

To log all your session output in PuTTY, you need to change the default settings. Here are the steps: open putty and go to Session->Logging. Select all session to capture all session output and specify a log file.

D:\Putty Log\&H-&D-&M-&Y-&T.log



I am using some putty parameters which will make every session unique, in this case “&H-&Y&M&D-&T.log”, which means:

  • &H = hostname for the session
  • &Y = year
  • &M = month
  • &D = day
  • &T = time

Set Lines of scrollback:

PuTTY has a limit on how many lines of text it keeps in the scrollback buffer. This means that if you are working with a very large file or trying to display a log file, you may only be able to see a few lines of it at a time.

To increase the scrollback buffer size, you can increase the value of the "Lines of scrollback" setting. This setting can be found in the "Window" category of the PuTTY configuration window.

The default value of the "Lines of scrollback" setting is 200 lines. However, you can increase this value to as high as 2147483647 lines.


Once you have increased the value of the "Lines of scrollback" setting, you need to save the changes to the Default Settings profile. This can be done by clicking on the "Save" button in the PuTTY configuration window.
Now 

Post a Comment

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.