How to save passwords in TortoiseSVN?

Posted by – March 22, 2010

Follow these steps
a) Right click on local code repo
b) Go to TortoiseSVN > Settings
c) Go to “Network”
d) Browse for SSH Client and use following
“C:\Program Files\TortoiseSVN\bin\TortoisePlink.exe” – Can be found in TortoiseSVN installation folder in c:\Prgram Files
d) Append following replacing username and password with your user name and password
“-l username -pw password
e) Click OK/Apply
That’s it. :-)

Be Sociable, Share!

11 Comments on How to save passwords in TortoiseSVN?

  1. karen says:

    Does this allow you to have different login/passwords for different projects?

  2. I never tried it. Now I work on Debian and not sure if it is possible or not.

  3. Andrew Holt says:

    That’s brilliant, going to save us loads of time with the number of commits we make!

  4. Chaitanya says:

    Great it works!

    Thanks Kumar Chetan Sharma

  5. fox says:

    how to append? please shed some light on the matter, m new to it…

  6. Andre says:

    Thank you very much for the info

  7. v says:

    yeah, great security – store your password in text format so that everyone accessing your pc can see it – BRILLIANT IDEA!

  8. Eric says:

    Thanks for sharing!
    Constant Tortoise logins were driving me nuts and wasting time.

    @fox It looks like this
    “C:\Program Files\TortoiseSVN\bin\TortoisePlink.exe” -l myusername -pw mypassword


  9. Bob says:

    confirm it works as desired. It affects only the one working copy, if you follow instruction a) right click on that local repo’s directory first.

  10. saxan says:

    Thanks for this !
    Repeated Tortoise logins were driving me crazy.
    God Bless you

  11. jpkotta says:

    Don’t store your password in plain text. That’s something stupid people do, and you’re just lazy, not stupid, right? Store your username as described here and use pagent to authenticate. There are a million tutorials on how to do it. The gist is: make a keypair with puttygen (use a passphrase!); copy the public key to the authorized_keys file on the svn server (with e.g. winscp or putty); start pagent and add your private key. Then you just have to run pagent and add the key every time you reboot (or the session times out, if you have that set). It’s secure and convenient, and not that hard to set up.

Leave a Reply

Your email address will not be published. Required fields are marked *

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