On Thu, Jun 28, 2007 at 03:45:50PM -0600, Chad Perrin wrote:
> 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://[EMAIL PROTECTED]:1234/usr/home/svn-repos/project project

Try:

SVN_SSH="ssh -p 1234" svn co svn+ssh://[EMAIL PROTECTED]/path

> The result I get is as follows:
> 
>   ssh: 123.45.678.90:1234: hostname nor servname provided, or not known
>   svn: Connection closed unexpectedly
> 
> Am I having a brainless moment here?  What am I missing?

ssh doesn't support the hostname:port syntax. You have to use -p.

Hope that helps,

-- 
Chris Cowart
Lead Systems Administrator
Network Infrastructure, RSSP-IT
UC Berkeley

Attachment: signature.asc
Description: Digital signature

Reply via email to