Osama Ahmad
Osama Ahmad

Reputation: 815

Use of SVN list command without password

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

Upvotes: 0

Views: 1338

Answers (2)

slowdog
slowdog

Reputation: 6216

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.

Upvotes: 3

Sander Rijken
Sander Rijken

Reputation: 21615

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>  

Upvotes: 0

Related Questions