开发者

SVN keeps prompting me for passwords and refuses to cache my credentials

开发者 https://www.devze.com 2023-03-29 02:15 出处:网络
Environment : Eclipse Indigo, Ubuntu 11.04, Subclipse 1.6 SVN Clients : Subclipse, RabbitVCS I\'m connecting via svn+ssh. My URL looks like :

Environment : Eclipse Indigo, Ubuntu 11.04, Subclipse 1.6 SVN Clients : Subclipse, RabbitVCS

I'm connecting via svn+ssh. My URL looks like :

svn+ssh://[MY NAME]@[MY DOMAIN]/[PATH]

I can connect to the repo just fine. The problem is that every time I try to communicate with the repo, it prompts me for a password. Really annoying!

I get the impression that SVN has the ability to cache passwords -- I've read that's what 开发者_如何学Cthe ./subversion/auth folder is for. However, my ./subversion/auth folder contains four empty folders.

I've experienced this behavior with both Subclipse and RabbitVCS.

Is there any way to force SVN to cache my credentials?


You need to use Public Key Authentication with SSH:

https://help.ubuntu.com/community/SSH/OpenSSH/Keys

It will enable you to used svn over ssh without entering a password every single time, with help of a common SSH agent.

Subversion itself caches credentials only to servers using HTTP/DAV.


Maybe this may help to someone. Check whether ~/.subversion folder is owned by wrong user, so it may be read-only to user who is using it.

sudo chown -R your_username:your_group ~/.subversion
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号