[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: John Peacock <jpeacock_at_rowman.com>
Date: 2005-04-20 18:26:35 CEST

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.

HTH

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748
---------------------------------------------------------------------
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:28:03 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.