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

Re: problems with svn+ssh under OS X

From: Dave Camp <dave_at_thinbits.com>
Date: 2005-01-18 17:46:16 CET

ssh, when running a command directly , does not run all the login
scripts that would be run if you use ssh to get an interactive shell.
You need to set the PATH variable much earlier, like in /etc/bashrc,
csh.cshrc, or csh.login. man ssh should give you more detail on what
files to modify for the shell your normally use.

I had to do this myself on several Mac OS X machines...

Dave

On Jan 18, 2005, at 7:58 AM, Karan, Cem (Civ, ARL/CISD) wrote:

> The problem is that I already have svnserve in the path; I can log into
> the machine via SSH and run svnserve. 'which svnserve' returns the
> correct path.
>
> Also, I discovered that if I just use 'svn' rather than 'svn+ssh', that
> I can properly communicate (I just did a checkout/commit/update from
> the
> linux box, and everything is happy). I'm still interested in figuring
> out WHY I can't get it to work via svn+ssh though.
>
> Anthony, I did as you suggested to see if there was anything that was
> coming up with SSH when I first login; all that comes up is the
> standard
> stuff, e.g.:
>
> Last login: Tue Jan 18 10:49:46 2005
> Welcome to Darwin!
>
> I know I'm reaching for straws here, but is there any possibility that
> I
> should be forcing the use of ssh protocol 1 (or 2) or something else
> that I don't know about?
>
> Thanks,
> Cem Karan
>
>> -----Original Message-----
>> From: Anthony Metcalf [mailto:anthony.metcalf@anferny.ath.cx]
>> Sent: Friday, January 14, 2005 7:33 AM
>> To: users@subversion.tigris.org
>> Subject: Re: problems with svn+ssh under OS X
>>
>>
>> On Fri, 14 Jan 2005 11:50:37 +0100
>> Ulrich Eckhardt <eckhardt@satorlaser.com> wrote:
>>
>>>> cfkaran2@158.12.88.100's password:
>>>> bash: line 1: svnserve: command not found
>>>
>>> This is the problem. You need to setup the account
>> 'cfkaran2' so that
>>> the svnserve executable is found in the path, because svn+ssh first
>>> opens an SSH connection and then runs svnserve on the
>> remote machine.
>>> Also make sure you read and understood the parts of the
>> book that deal
>>> with setting up this access-method.
>>
>> As a side note, I have experienced this when I had fortune in
>> .bashrc of the server.
>>
>> Wehn the user logged on via ssh, fortune dumped some output,
>> which I think confused the svn+ssh conection.
>>
>> I could be wrong in that though.
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 18 17:49:39 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.