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

Re: svn problem

From: Jens Seidel <jensseidel_at_users.sourceforge.net>
Date: 2006-08-04 11:19:12 CEST

Hi Ning,

On Tue, Aug 01, 2006 at 01:45:00PM -0400, Ning Shen wrote:
> I am trying to set up the svnserve server accessed by either
> svn+ssh://... or svn:// ......
> For svn+ssh://...method, It was ok when I also created the same user
> account in the server box. But when I tried to use ONE account
> (repository account in server) for many users (without creating their

I use this scheme as well.

> account in the server), the users were asked for password (but there
> were no passwords for them, obviously). I have put all their public keys
> in authorized_users file in server account starting with

That's the wrong file. You need to put these in ~/.ssh/authorized_keys
on the server.

> */command="svnserve -t --tunnel-user=XXX" ...........

The following works well on my system:

command="/usr/bin/svnserve -t --tunnel-user=jens",no-port-forwarding,no-agent-forwarding,no-X11-forwarding,no-pty ssh-rsa AAAA...

> /*For svn://... method, I always got error msg like
> svn: cannot connect to host "xxx.xxx.xxx.xxx": No route to the host

You should use svn+ssh://jens@xxx.xxx.xxx.xxx/ not svn://. Also don't forget to
specify the user account (e.g. jens) the server uses.

But your problem looks more like a network problem. Can you ping the host?

Try to connect via ssh to the host using the special svn account, you should get
( success ( 1 2 ( ANONYMOUS EXTERNAL ) ( edit-pipeline ) ) ) Connection to host closed.
because /usr/bin/svnserve is the only valid command this user can run.
> Really need your help ......

I hope this solves you problem. I had no problems to set it up following the steps
in the svn book.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 4 11:22:55 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.