[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: Fred A Cantley <fcantley_at_csc.com>
Date: Fri, 18 Apr 2008 17:13:12 -0500

First off, thanks for the very quick reply, especially on a Friday evening.

We are using an FSFS repository on Sun Solaris 10. The vendor's client
machine is also a Sun Solaris 10 box (supplied by us, so it is setup the
same).

I setup a '.profile' with the proper path and ld_library_paths defined,
just in case the sub shells were not inheritting the env properly. I also
took the "--password" off the command (which was for authenticating in svn,
but I turned off svn's authentication for now).

However, I am still getting the same results. I also verified that the svn
utilities were in the path with the which command and just did an 'svn
help' and got a proper response for that (not needing a repository for
'help').

Again, thanks for the suggestions, and I still appreciate any other ideas
thrown my way.

                                                                           
             Stefan Sperling
             <stsp_at_elego.de>
                                                                        To
             04/18/2008 04:24 Fred A Cantley/DEF/SC/CSC_at_CSC
             PM cc
                                       users_at_subversion.tigris.org,
                                       fred_ac_at_juno.com
                                                                   Subject
                                       Re: svnserve and ssh
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           

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
[attachment "atta92wq.dat" deleted by Fred A Cantley/DEF/SC/CSC]
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-19 00:13:35 CEST

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