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

Re: svnserve and ssh

From: Stefan Sperling <stsp_at_elego.de>
Date: Fri, 18 Apr 2008 23:24:18 +0200

On Fri, Apr 18, 2008 at 03:50:10PM -0500, Fred A Cantley wrote:
>
>
> I am having problems getting a vendor's machine to access our repository
> with svnserve and svn+ssh. I can ssh to their machine and ssh back to
> ours, so I don't think it is not a problem with ssh.
>
> We are running svn version 1.4.4 on the repository and client machines.
>
> I have tried setting up svnserve on the repository machine in the
> following ways:

You don't need to start an svnserve daemon for svn+ssh://
 
> >svn -d -r /path/to/repo
> >svn -t -r /path/to/repo
> >svn -t -r /path/to/repo --listen-port=22
> >svn -t -r /path/to/repo --listen-port=3691
>
> then try to access it from the client machine with:
>
> >svn list svn+ssh://our.host.ip/path/to/repo --password my_svn_passwd

Authentication is done internally by ssh.

--password isn't for use with svn+ssh://, it's for use with svn://,
http://, and https://

> then enter my Unix password at the prompt and get the response:
>
> Password:
> ksh: svnserve: not found

Hey, this is OpenBSD, right? :)

Make sure the PATH is correct. I'm not sure if the default PATH
for ksh contains /usr/local/bin. Check the .profile of the user
you're logging in as.

> svn: Connection closed unexpectedly
> $
> $ which svn
> /usr/local/bin/svn
> $ which svnserve
> /usr/local/bin/svnserve
> $
>
> I have also tried starting up an svnserve from the client side, trying to
> point to the host machine and got the same response:
>
> svnserve -t -r ssh://our.host.ip/path/to/repo
>
> I would really appreciate any help I can get.

Hope I could help you.

-- 
stefan
http://stsp.name                                         PGP Key: 0xF59D25F0

  • application/pgp-signature attachment: stored
Received on 2008-04-18 23:24:47 CEST

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.