0

When I execute svn list command, it requests the password twice. I need to execute it without password. Is is possible?

2
  • maybe ask somebody for the password instead of trying to hack yourself in? Commented Sep 22, 2010 at 8:39
  • my command is svn list svn+ssh://svn.sts.com.jo/var/lib/svn/repos/b1me/products/payone/generic/code/core Commented Sep 22, 2010 at 9:32

2 Answers 2

3

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.

Sign up to request clarification or add additional context in comments.

Comments

0

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>  

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.