[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: SVN strips port from svn+ssh URLs...

From: Joseph Galbraith <galb_at_vandyke.com>
Date: 2005-04-20 18:32:14 CEST

John Peacock wrote:
> Joseph Galbraith wrote:
>
>> I know not all SSH clients support the user@host:port syntax,
>> but I've one that does, and it would sure be nice if this
>> didn't get stripped.
>>
>> Also, it is probably a bug that the :port part of the URL
>> is silently ignored... at the very least, if it isn't
>> going to be accepted, it should be rejected with an error
>> instead of silently discarded.
>
>
> I agree (having recently been bitten by this myself). At the very
> least, something like the following should be added to the FAQ:
>
> In order to use a non-standard ssh port or a different user name when
> connecting with svn+ssh:// you can set the following environment variable:
>
> export SVN_SSH='ssh -l youruser -p someport'
>
> and all subsequent svn+ssh:// connections will use that ssh command line
> instead of the default. The user and port information can also be set
> on a host by host basis using the ssh configuration file. See
> ssh_config(5) for more details.

I think (I haven't tried, but the docs say) it can also be
set using the [tunnel] section of the svn config file.

None of which is nearly as convient as specifying it as part
of the URL (if the ssh client supports it.)

Thanks,

Joseph

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 20 18:34:21 2005

This is an archived mail posted to the Subversion Dev mailing list.