[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: Tony K. <tony.kruse_at_gmail.com>
Date: 2006-09-08 19:49:52 CEST

It appears to work now. I did not yet change the permissions of
.ssh/config, but still on 644. Perhaps I did not restart my shell on
my client last time I tried.

Today, I tried svn+ssh by defining the port again...

svn checkout svn+ssh://example.com:XXXX/path/to/repository/project/trunk project

but it still would not work, but when I removed the port number...

$ svn checkout svn+ssh://example.com/path/to/repository/project/trunk project

...this now works!

Thanks

On 9/8/06, Chris Seawood <cls@seawood.org> wrote:
> It's the config for the client. Make sure that the permissions on the
> file are 600.
>
> Tony K. wrote:
> > Is this config for the client or server?
> >
> > I tried putting that in both the client and server machine (and
> > restarted sshd on the server) but still does not work.
> >
> >
> > On 9/7/06, Chris Seawood <cls@seawood.org> wrote:
> >> 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 19:51:29 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.