Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TortoiseSVN keeps on asking me for my password

I have source code checked out on my Linux machine. I connect to it via Samba. On a Linux machine, the SVNROOT is set to <mylogin>@<serverhost>. In additon, SVN_SSH is set to point to my private key that the system administrator generated for me. On Linux, I am NEVER prompted for the password. The system administrator claims that the private key takes care of it.

On the same directory that I access through Samba, I run TortoiseSVN. However, it constantly prompts me to enter a password for <mylogin>. My system administrator says that I have no password, just the private key.

What do I do with TortoiseSVN so that it does not prompt me for the password?

like image 761
doon Avatar asked Jun 03 '11 10:06

doon


2 Answers

Tortoise SVN right click on desktop -> Tortoise SVN-> settings -> saved data -> authentication data (button press 'clear') ! try logging in now again !

like image 112
thaza Avatar answered Oct 28 '22 01:10

thaza


If you don't have a password, but have a key (.ppk):

Download PuTTY and run it. Interesting keys are:

  • Session – Host name and port,
  • Connection – Data – Auto-login username,
  • Connection – SSH – Auth – Private key for authentication.

Now save your configuration — go back to Session and enter e.g. MyServer into Saved sessions text field, then click Save. After that UX nightmare you can re-open PuTTY, double-click on your MyServer in session list and be logged in without providing anything.

TortoiseSVN connection string should look like svn+ssh://MyServer/path/to/repo. Long story short, MyServer string is checked by TortoiseSVN in PuTTY settings.


If you don't have a key, but have a password:

Go to TortoiseSVN – Settings – Network – SSH Client, and set it like that:
"C:\Program Files\TortoiseSVN\bin\TortoisePlink.exe" -l <username> -pw <password>

Your connection string should look as usual: svn+ssh://serverhostname/path/to/repo, without username@.

This is insecure and all, for those who don't give a f-ck and want it now.

like image 41
user3125367 Avatar answered Oct 28 '22 01:10

user3125367