Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there any way to allow Putty to store passwords? Please note that safety is not an issue (private LAN), so the easiest solution would be to save the password in the Putty session (instead of using keys or the -pw option).

I know there is a way to do so, but I don't remember how to do so, and all the posts I've found showed how to do it using the -pw flag or with keys.

share|improve this question

migrated from serverfault.com Aug 7 '12 at 21:18

This question came from our site for professional system and network administrators.

add comment

6 Answers

up vote 9 down vote accepted

I don't think you can do this with PuTTY without as you note creating a shortcut and using the -pw option. There is a fork of PuTTY called KiTTY that will allow you to configure a password.

share|improve this answer
    
thanks! great tip! –  Kuf Aug 6 '12 at 10:19
add comment

No.

Might I refer you to PuTTY's own FAQ for this?

http://www.chiark.greenend.org.uk/~sgtatham/putty/faq.html#faq-password-remember

The documentation does specify a -pw option (just for SSH): http://the.earth.li/~sgtatham/putty/0.62/htmldoc/Chapter3.html#using-cmdline

However, as the FAQ suggests, you should look into setting up public-key auth - it's quite simple, safe and elegant.

share|improve this answer
add comment

If you want to be able to log on automatically without using passwords, why not logon using a private key instead?

You can use puttygen to generate the keys, as described here

Once you have your key files in the right places, you will not be prompted for a password.

See also http://tartarus.org/~simon/putty-snapshots/htmldoc/Chapter8.html#pubkey

share|improve this answer
add comment

Not directly but as a workaround for this I always start with WinSCP and start PuTTY from there, with WinSCP passing the credentials through. It's only two extra clicks of the mouse.

share|improve this answer
    
+1 like the use of winSCP –  Kuf Aug 8 '12 at 10:32
add comment

Putty connection manager can store usernames and passwords. It also enables tabbed putty sessions.

share|improve this answer
add comment

I use mRemoteNG to wrap Putty connections, it saves the passwords plus combines all sessions into a nicely manageable UI.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.