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

Re: problem connecting to OS X hosts using svn+ssh

From: Dave Camp <dave_at_thinbits.com>
Date: 2005-02-25 07:20:09 CET

On Feb 24, 2005, at 12:56 PM, Zachary Pincus wrote:

> It's possible that when sshd on the remote OS X machine tries to run
> svnserve on your behalf, it can't find the executable. Perhaps it's in
> a nonstandard location? (see this email to the svn list:
> http://svn.haxx.se/users/archive-2004-10/1027.shtml )
>
> That said, sshd should be executing svnserve within a shell that
> should have access to your PATH variables -- right? So if you can use
> svnserve when logged in via ssh, sshd should be able to run it too.

No. sshd does not run the users ~/.bash* or ~/.tcsh* files when
executing a remote command. Those files are only run if the user is
logging in and starting an interactive shell. This has come up many
times on the list... it seems to bite many Mac users (myself included).

Depending on what your default shell is, you need to modify (or add)
the PATH variable in the following files (taken from an Xserve at
work):

/etc/bashrc:export PATH=$PATH:/usr/local/bin
/etc/csh.cshrc: setenv PATH "$PATH"":/usr/local/bin"
/etc/csh.login:setenv PATH
"/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin"

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 25 07:22:30 2005

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.