[darcs-users] Re: DARCS_SSH

Csaba Henk dzsekijo at creo.hu
Fri Apr 1 12:55:43 UTC 2005


On 2005-04-01, David Roundy <droundy at abridgegame.org> wrote:
> On Wed, Mar 30, 2005 at 09:51:45PM +0000, Csaba Henk wrote:
>> Hi!
>> 
>> What purpose does the DARCS_SSH env. var. serve?
>> 
>> As far as I can see, darcs doesn't directly call ssh rather uses scp.
>> I couldn't find it out from the docs.
>
> Darcs uses ssh when you run a push to execute 'darcs apply' on the target
> machine.

Ah I see, thanks.

>> Yes I know, I can make a wrapper script around ssh which does this and
>> have darcs to use that as scp but maybe there is a more direct way to do
>> this.
>
> I think this would be the way to go.  It's what we'd have to do anyways in
> order to push using ssh but not scp, but I think it wouldn't be portable,
> since we'd have to assume that there are some particular programs on the
> target computer (such as cat), which might not be the case if the target
> computer is running windows or something.

Oh yes. I see, direct ssh would be fragile.

Csaba





More information about the darcs-users mailing list