How to save passwords in TortoiseSVN?

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. 🙂

Join the Conversation


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

  2. 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


  3. 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.

  4. 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.

  5. I did the same way as said, but it is asking the uname and pwd again and agian and my ‘Authentication data’ is always disabled.

    how to enable this.

Leave a comment

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