842: Allow configuration of ssh user (in addition to the svn user) for svn+ssh accessed repositories

bbl****@gmai***** (Google Code) (Is this you? Claim this profile.)
Jan. 4, 2010
http://reviews.review-board.org/

What's the URL of the page this enhancement relates to, if any?

Repository configuration, diff viewer, etc.


Describe the enhancement and the motivation for it.

I had the same issue as described in this mailing list message -
http://groups.google.com/group/reviewboard/msg/7ce11aea8a875280

I did not however, have the option of setting up http access to my svn
repository, so the posted solution did not work for me.

Based on my testing, it appears that the username configured in the UI is
used to run svn, but the application still uses the web server user
(www-data in my case) as the remote ssh username.  My expectation (whether
warranted or not) was that the configured username would be used for both
the svn user, and the remote ssh user.

Ideally, it would be possible to set the remote ssh username in addition to
the svn username.  Of course, the local ssh process would still run as the
web server user, but having a configurable remote user would allow an
application-specific, locked-down account to be used, without risk to any
web processes running on the repository server.

If this is not possible for whatever reason, then the current behavior
should be documented.  


What operating system are you using? What browser?
Debian GNU/Linux, Firefox 3 & IE7


Please provide any additional information below.
N/A
david
#1 david
I'll think about how best to do this. In the meantime, you can configure this in
~www-data/.ssh/config
david
#2 david
  • -Type-Defect
    +Type-Enhancement
    +Component-SCMTools
david
#3 david
Can't you put it in the URL? svn+ssh://user@server/...
  • +NeedInfo
david
#4 david
  • -NeedInfo
    +Incomplete
#5 bbl****@gmai***** (Google Code) (Is this you? Claim this profile.)
Confirmed - putting it in the URL works.