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

Re: Problem using svn+ssh for non-standard port for ssh

From: Chris Seawood <cls_at_seawood.org>
Date: 2006-09-08 03:36:18 CEST

Tony K. wrote:
> I have my ssh port set at XXXX, and have been connecting to it with
> ssh with no problems. I am trying to set up svn on this same machine,
> and when I try to use svn+ssh to checkout a project I get the
> following result.
>
> $ svn checkout svn+ssh://example.com:XXXX/path/to/repository/project/trunk
> project
>
> ssh: example.com:XXXX: Name or service not known
> svn: Connection closed unexpectedly
>
> However, if I set my port back to 22, I am successfull using the
> following...
>
> svn checkout svn+ssh://example.com/path/to/repository/project/trunk project
>
> I have also tried the following without success...
>
> $ svn checkout
> svn+ssh://me@example.com:XXXX/path/to/repository/project/trunk
> project
>
> $ svn checkout --username me
> svn+ssh://example.com:XXXX/path/to/repository/project/trunk project

Try adding this to your ~/.ssh/config :
# begin
Host example.com
        Port XXXX
        User me
#end

- cls

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 8 03:37:28 2006

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

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