Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jun 2007 10:21:13 +0200
From:      Albert Shih <Albert.Shih@obspm.fr>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: svn+ssh over nonstandard port fails to connect
Message-ID:  <20070629082113.GA68847@pcjas.obspm.fr>
In-Reply-To: <20070628214550.GA7645@demeter.hydra>
References:  <20070628214550.GA7645@demeter.hydra>

next in thread | previous in thread | raw e-mail | index | archive | help
 Le 28/06/2007 à 15:45:50-0600, Chad Perrin a écrit
> I'm attempting to connect to a Subversion repository via SSH using a
> nonstandard port to check out the repository.  The names and numbers in
> the following have been changed to protect the guilty:
> 
>   svn co svn+ssh://user@123.45.678.90:1234/usr/home/svn-repos/project project
> 
> The result I get is as follows:
> 
>   ssh: 123.45.678.90:1234: hostname nor servname provided, or not known
>   svn: Connection closed unexpectedly
> 
Put something like

	myssh=/usr/bin/ssh -p 1234 123.45.678.90

in 

	.subversion/config

and use

	svn co svn+myssh://usr/home/svn-repos/project

or

	svn co --username=user svn+myssh://etc.

regards



--
Albert SHIH
Observatoire de Paris Meudon
SIO batiment 15
Heure local/Local time:
Ven 29 jui 2007 10:19:00 CEST



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070629082113.GA68847>