How can I create a PuTTY shortcut that automatically launches a profile, so I can dial into a specific computer with one click?
5 Answers
From the Putty FAQ:
To run a PuTTY session saved under the name ‘mysession’, create a Windows shortcut that invokes PuTTY with a command line like
\path\name\to\putty.exe -load "mysession"
---EDIT---
In Windows 7, the shortcut has to be in quotes like this:
"\path\name\to\putty.exe" -load "mysession"
In Windows use this target for putty shortcut, for save username and password. Then load a saved session or add to Task Manager:
"C:\Program Files\PuTTY\putty.exe" -load "your_saved_session" -l "username@your_server_address" -pw "your_password"
- right click on putty shortcut
- fill out "target" field of shortcut using above code (alter to your own properties).
- click save button.
After that when you click on PuTTy shortcut it loads your session automatically using given username and password.
UPDATE: If you specified server IP or hostname in your selected putty profile you should not put your server address (..@server_address) in windows shortcut; correct shortcut is now:
"C:\Program Files\PuTTY\putty.exe" -load "your_saved_session" -l "username" -pw "your_password"
- 24,246
- 64
- 231
- 400
- 161
I had referred to Putty Connection Manager as a useful addon, giving one click connects and tabbed windows, but it seems the app is dead and all the files removed from the hosting site.
While checking into this, I found a fork of the project, called superputty (see below) and a reference to KiTTY - a Win32 native version of PuTTY with extra features so here you go:
Superputty:https://github.com/jimradford/superputty
KiTTY: http://kitty.9bis.com/
- 4,053
- 28,240
PuttyTray is an alternative where you get sessions in the Windows quickjump list if you pin it to the taskbar. Mine is pinned at position 9, so I type Win+Alt+9 to show list of sessions and arrow key to select, then enter to launch.
It also has a bunch of other nice to have features.
- 113
One can use WinSCP (gratis) to save IPs, usernames and passwords, which can be then passed to PuTTY:
- 24,246
- 64
- 231
- 400
