[Next entry: "Mangia"]
Home » Archives » June 2008 » SVN+SSH username issues
[Previous entry: "Just Hanging Out"]
Home » Archives » June 2008 » SVN+SSH username issues
[Previous entry: "Just Hanging Out"]
SVN+SSH username issues
5 June 2008 @ 04:16 PM MST
5 June 2008 @ 04:16 PM MST
Current Music: Imogen Heap - Can't Take it in
Current Mood: Good
Current Mood: Good
So here's something I just spent about an hour trying to figure out. If your using subversion with svn+ssh as the access method, in order to supply a different username to the ssh login you have to add it into the url of the repository. If you try to set the --username svn flag, it won't change the default name used for the ssh connection.
So a successful login for someone who's remote ssh username is "my_remote_name" would look like this:
svn+ssh://my_remote_name@machine.domain.com/path/to/repository
and not:
svn+ssh://machine.domain.com/path/to/repository --username my_remote_name
This applies in RapidSVN as well, which is where my issue was, since when it prompts you for your login it doesn't let you alter the ssh username and it was driving me nuts. As I said it took an hour to find this stupid piece of trivia.
[This Entry]
So a successful login for someone who's remote ssh username is "my_remote_name" would look like this:
svn+ssh://my_remote_name@machine.domain.com/path/to/repository
and not:
svn+ssh://machine.domain.com/path/to/repository --username my_remote_name
This applies in RapidSVN as well, which is where my issue was, since when it prompts you for your login it doesn't let you alter the ssh username and it was driving me nuts. As I said it took an hour to find this stupid piece of trivia.
[This Entry]