74

How can I create a PuTTY shortcut that automatically launches a profile, so I can dial into a specific computer with one click?

C. Ross
  • 6,734

5 Answers5

98

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"

Siim K
  • 8,062
6

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"

  1. right click on putty shortcut
  2. fill out "target" field of shortcut using above code (alter to your own properties).
  3. 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"

Franck Dernoncourt
  • 24,246
  • 64
  • 231
  • 400
5

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/

T.Todua
  • 4,053
Linker3000
  • 28,240
1

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.

1

One can use WinSCP (gratis) to save IPs, usernames and passwords, which can be then passed to PuTTY:

enter image description here

Franck Dernoncourt
  • 24,246
  • 64
  • 231
  • 400