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

Re: svn+ssh: problem accessing svnserve

From: Bill Kavadas <bill.kavadas_at_nec.com.au>
Date: 2004-03-24 22:06:31 CET

Bill Kavadas wrote:
> Hi,
> I'm having some trouble using svn with ssh "tunneling". I've got
> subversion 1.0.1 and Linux on both boxes.
> I've got a repository created on a remote machine - OK
> I've got an account on the remote machine which I can ssh to - OK
> On my local machine I type:
> svn list svn+ssh://usernam@remote.machine.com/path/to/repos
> and get
> bash: svnserve: command not found
> svn: Connection closed unexpectedly
> I don't have root access on the remote box so the svn binaries are
> sitting in a subdir in my home dir.
> Seems like an access issue but I can't think what - if I ssh in
> normally, I can run svnserve OK - it's in my PATH on the remote box. I
> can connect OK if I use svnserve -d and set the appropriate access
> controls but I'd like to be able to get it going with svn+shh.

Solved my own problem - seems when the connection is made with SSH it
doesn't login, hence it doesn't read the .bash_profile where my PATH is
set. I moved the PATH for svnserve to .bashrc (since it does start a
shell - just not a login shell) and it worked.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 25 17:58:39 2004

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