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 connections.<br>

It is a key system and yes, I can happily ssh to the other pc without password or any prompting.<br><br>Yes,
they are fully pathed. I prefer use system(), it didn't work either,
but to get it to work I am using backticks with a simple ls,  so I can
see when  it works<br>
getting the darn thing connecting properly, then i'll re-insert my "real code" of what to do when it connects<br>I'm
trying to remove the need to have a NFS mount all time, as if it goes
away, ubuntus task bar locks (thankfully I have a terminal icon so I
can "reboot")<br>
<br>I know it is going to be something simple, but i'm new to sshfs, and it just loses the plot when run as a (root) cron job<br><br><br>#!/usr/bin/perl<br>use Sys::Syslog;<br><br>`/usr/bin/sshfs root\@lozza:/ /mnt/lozza`;<br>

$result = `ls /mnt/lozza`;<br>syslog('info',"$result");<br><br>`/bin/fusermount -u /mnt/lozza`;<br><font color="#888888"><br><br>Nick</font>