TortoiseSVN keeps on asking me for my password

前端 未结 8 1326
日久生厌
日久生厌 2021-01-03 23:49

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 @. In addito

8条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-04 00:29

    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 -pw

    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.

提交回复
热议问题