svn+ssh over nonstandard port fails to connect

Albert Shih Albert.Shih at obspm.fr
Fri Jun 29 08:21:15 UTC 2007


 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


More information about the freebsd-questions mailing list