RES Re: SSHFS
Loïc Grenié
loic.grenie at gmail.com
Thu Oct 14 09:55:23 UTC 2010
2010/10/14 Nick Edwards <nick.z.edwards at gmail.com>:
>
>
> On Thu, Oct 14, 2010 at 6:35 PM, Loïc Grenié <loic.grenie at gmail.com> wrote:
>>
>> 2010/10/14 Nick Edwards <nick.z.edwards at gmail.com>:
>> > Hi,
>> > Has anyone got this working from inside perl script successfully via
>> > cron ?
>> > It works fine if I run it by hand, but doesn't do anything via cron.
>> >
>> > strace shows connection reset by peer, but, tailing the server shows no
>> > connections.
>> > It is a key system and yes, I can happily ssh to the other pc without
>> > password or any prompting.
>>
>> As an additional check, could you try
>>
>> env -i PATH="$PATH" sshfs root at lozza:/ /mnt/lozza
>>
>> from a shell and see whether it works ? Can you also try to dump
>> the environment of the shell-script to check if something strange
>> is happening...
>>
>
> I use perl scripts not shell, but no, shell did not work either.
That's what I/you wanted to know ! Sorry for the confusion between perl
and shell, but you understood what I meant.
> but you are on the right path, I dont use ubuntus ancient ssh, I use source,
> it was not looking in /usr/local,
> once I corrected that and used source for sshfs, all went well.
Fantastic !
Loïc
More information about the ubuntu-users
mailing list