in reply to Running a Net::SFTP::Foreign script from cron
The remedy is either to switch to Net::SFTP or to set ssh_cmd => $sshcmd to the full path of your ssh.
my $sftp = Net::SFTP::Foreign->new('host',{ ssh_cmd => '/usr/bin/ssh' +});
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Running a Net::SFTP::Foreign script from cron
by rah (Monk) on Nov 07, 2006 at 21:29 UTC | |
|
Re^2: Running a Net::SFTP::Foreign script from cron
by uzzikie (Sexton) on Jun 15, 2011 at 03:18 UTC |