RES Re: SSHFS

Nick Edwards nick.z.edwards at gmail.com
Thu Oct 14 09:51:52 UTC 2010


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.
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20101014/deb051f8/attachment.html>


More information about the ubuntu-users mailing list