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?
Tortoise SVN right click on desktop -> Tortoise SVN-> settings -> saved data -> authentication data (button press 'clear') ! try logging in now again !
If you don't have a password, but have a key (.ppk):
Download PuTTY and run it. Interesting keys are:
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With