开发者

Use of SVN list command without password

开发者 https://www.devze.com 2023-01-16 22:47 出处:网络
When I execute svn list command, it requests the password tw开发者_开发百科ice. I need to execute it without password. Is is possible?I see you\'re using svn+ssh://. That means the password prompts ar

When I execute svn list command, it requests the password tw开发者_开发百科ice. I need to execute it without password. Is is possible?


I see you're using svn+ssh://. That means the password prompts are actually coming from ssh, not svn itself. So the first thing you need to do is configure ssh for passwordless authentication. The most common way to do that is using public keys.

The svn manual has some tips for configuring public key access.

For debugging any problems with the ssh access, it's sometimes useful to run ssh by hand, like this: ssh -v svn.sts.com.jo svnserve -t.


You can either try to use the username and password arguments, or use the --non-interactive switch:

svn list <url> --non-interactive
svn list <url> --username <user> --pass <pass>  
0

精彩评论

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

关注公众号