<br><br><div class="gmail_quote">On Thu, Oct 14, 2010 at 6:35 PM, Loïc Grenié <span dir="ltr"><<a href="mailto:loic.grenie@gmail.com">loic.grenie@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2010/10/14 Nick Edwards <<a href="mailto:nick.z.edwards@gmail.com">nick.z.edwards@gmail.com</a>>:<br>
<div class="im">> Hi,<br>
> Has anyone got this working from inside perl script successfully via cron ?<br>
> It works fine if I run it by hand, but doesn't do anything via cron.<br>
><br>
> strace shows connection reset by peer, but, tailing the server shows no<br>
> connections.<br>
> It is a key system and yes, I can happily ssh to the other pc without<br>
> password or any prompting.<br>
<br>
</div>    As an additional check, could you try<br>
<br>
env -i PATH="$PATH" sshfs root@lozza:/ /mnt/lozza<br>
<br>
  from a shell and see whether it works ? Can you also try to dump<br>
  the environment of the shell-script to check if something strange<br>
  is happening...<br>
<br></blockquote><div> </div><div>I use perl scripts not shell, but no, shell did not work either.<br>but you are on the right path, I dont use ubuntus ancient ssh, I use source, it was not looking in /usr/local,<br>once I corrected that and used source for sshfs, all went well.<br>
<br></div></div>