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

Re: svnserve/ssh tunnel?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-08-09 19:55:06 CEST

"Jonathan Blow" <jon@number-none.com> writes:

> [tunnels]
> ssh = telnet localhost 3690
> But actually, no matter what I try to set the value of 'ssh' to, it just
> doesn't make a difference, the behavior of the svn client is always
> the same. When I try to do this:
> svn co svn+ssh://localhost/home/svn/code
> it just hangs until I ctrl-c it. I assume I am doing something subtly
> wrong, but what that is is just not evident. Before anyone asks,
> the ssh tunnel is definitely working; I can telnet localhost 3690 from
> the command line on the win32 machine and see the
> LISP-looking svn protocol greet me.

'telnet localhost 3690' only proves that there's an svnserve daemon
listening to that port number. But that's not relevant to what you're
trying to do.

If you look at the subversion book (chapter 5), it explains that
svn+ssh:// is very different from svn://. The former command uses ssh
to authenticate (on port 22) and then *launches a private svnserve
process* on the server, which communicates back through the tunnel.
The latter command just opens an unauthenticated connection directly
to port 3690. There's no 'tunnel' going on.

'ssh' was written as replacement for 'rsh', which was designed to
launch programs on remote computers. 'telnet' will not do this. You
need a real ssh program for win32.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Aug 9 19:58:22 2003

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