Comment #6 on issue 1750 by roy.jean.francois: Unable to dd svn+ssh repository when host requires rsa cert auth & disallows password auth
http://code.google.com/p/reviewboard/issues/detail?id=1750

It's clearly a failure in pysvn.info2. One interesting piece of information is that if I include my username in the repository URL, the call succeeds.

In other words, assuming username <user> is the access user for host <host> and the repo is at <repo> on that host, not specifying the user in the URL yields this:

import pysvn
client = pysvn.Client()
client.info2('svn+ssh://<host>/<repo>')
Password:

In other words, an interactive password prompt, which of course eventually times out on the server (might explain the error message).

However, if I then to this (after pressing Control-C to interrupt the previous call):

client.info2('svn+ssh://<user>@<host>/<repo>')

Then I get the repo information without any prompt.

Furthermore, if I do this instead:

client = pysvn.Client()
client.set_default_username('<user>')
client.info2('svn+ssh://<host>/<repo>')
Password:

I still get an interactive password prompt.

So there you have it...

--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-iss...@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.

Reply via email to