Log PuTTY Output

Log PuTTY Output
Log PuTTY Output

I use PuTTY a lot and sometimes I want to log my changes as I make them or I want a quick and dirty way to get a config file off a device. In this post, I will show step-by-step how to log the PuTTY output to a log file.

  • Open PuTTY
  • Click on Session > Logging
Selecting Logging
  • Select Printable output
Selecting Printable output
  • Select the location where you want the log file to be saved. I’m going to save mine in C:\temp
Set the save location for the log file
  • Click on Session
Selecting Session
  • Connect to the host and do what you need to do.
Connect to the host
  • When you close your PuTTY session window the printable output is written to the log file.

That’s all it takes to log the PuTTY printable output to a log file.

I did get curious about what happens if you use All session output vs Printable output. Here’s what the main differences are that I found.

Below is with the Printable output option

PuTTY Printable output log file

Below is with the All session output option

PuTTY All session output log file with strange

As you can see with the All session output option it can result in strange characters in the log file however it does log everything so it could be useful in some cases.

If you want to read more about the logging options in PuTTY you can do so by reading the PuTTY documentation here.

One response to “Log PuTTY Output

Leave a comment

Your email address will not be published. Required fields are marked *