It has to do with the fact you are using the root account with Net::SSH::Perl. You have to specify an additional switch to get it to work.
I don't remember specifically what I had to do to get to work, but looking in the documentation for Net::SSH::Perl you have to set a switch to work with a privileged port if you are root.
If you don't get an answer here, you can always go to this mailing list. That was where I got my answer dealing with this module.
In reply to Re^5: Perl script in cron
by Herkum
in thread Perl script in cron
by bashi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |