CLI your CLI (3 of 30)

For the last decade I have been launching my putty from a simple windows+r. I have done so well over 20,000 times in the last 7 years alone, (don’t ask how I know that.) You might remember this feature being depicted in on EtherealMind’s blog post, though I rarely see other net-eng or linux types using this feature. To build on that same topic, there have been three things that I have been doing. The first is integrating within a simple batch file, and the second is integrating tabbed putty via SuperPutty, and finally setting up logging of all my terminal activity.

Simple Batch File

In your C:\Windows\System32 folder, create a file called ssh.cmd

echo off
start putty -pw <password> <username>

From you run prompt, simply type “ssh <devicename>” and it will auto-login with the credentials from the script.

Integration with SuperPutty

SuperPutty allows Putty to be opened up in Tabs. The best feature for me is that it integrates with the same type of cli launch that Putty does.

– First Download and install SuperPutty
– Point SuperPutty to the actual Putty executable:
– Now you can create a separate script to use SuperPutty instead, using the same procedures.

echo off
start C:\Windows\System32\SuperPutty\SuperPutty.exe -ssh -l <user> -pw <password> %1

Enable Session Logging on “all session ouput”

From Putty enable session logging as depicted below, it gives you the option to time stamp the file name using simple variables such as &Y, &M, &D etc…


This setup has server me well, SuperPutty gives me the tab view I prefer, and also supports multiple view, for instance the side-by-side view below. It also logs everything I need and allows me to logon quicker than any of those secure-crt fanatics.




Leave a Comment

NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>