Is there a way to configure a password for a stored session in PUTTY?
I know there is the capability to specify an "auto-login username" (under Connection/Data) but is there a way to do the same with the 'password'?
|
Is there a way to configure a password for a stored session in PUTTY? I know there is the capability to specify an "auto-login username" (under Connection/Data) but is there a way to do the same with the 'password'?
| ||||
feedback
|
|
For some versions of Putty it's as simple as:
For those using Windows, you can simply create a shortcut and pass in these parameters.
If your putty does not support the pw parameter, you will need a public key as explained here : | ||||
|
feedback
|
|
Strongly advise using the public key mechanisms rather than sending passwords from the shell. Link to get latest PuTTY binaries (and check the FAQ). | |||
|
feedback
|
|
harrymc's answer is the best option. The Putty FAQ makes it clear there's no way in the settings to store a password. | |||
|
feedback
|
|
Putty Connection Manager can autologin, and has an encrypted database holding the passwords. I still prefer ssh keys though. | |||
|
feedback
|
|
I use mRemote on Windows; it can store usernames and passwords for SSH, RDP, VNC and Citrix. | |||||
feedback
|
|
If you want to preserve saved options (such as pre-configured window sizes and tunnel proxy) and load a saved session to auto-login, use this approach: http://www.shanghaiwebhosting.com/web-hosting/putty-ssh-auto-login
Where 'my_server' is a saved session name. | |||
|
feedback
|
|
Tunnelier - saved passwords encrypted locally. It also has a sFTP GUI as well as SSH windows.
| ||||
|
feedback
|
|
if command history is a security concern, go the public key route (as your plaintext password specified in the -pw option is stored in command history). | |||
|
feedback
|
|
if you use the following way, don't forget to add "" to enclose your session name, e.g. putty.exe -load "my session name", or it may fail to load session.
| |||
|
feedback
|
|
i prefer doing like this on windows machine. save the putty in a folder say "mytools"and run the command from command prompt.
10 is the last octet of your ip address. that's it
| ||||
|
feedback
|