Another option is to use Net::SSH2 in a similar fashion with the help of Net::SFTP::Foreign::Backend::Net_SSH2.use Net::OpenSSH; my $ssh = Net::OpenSSH->new($host); my $sftp = $ssh->sftp; $sftp->put($from, $to); $ssh->system(perl => $script, $to);
In reply to Re: NET::Foreign Commands
by salva
in thread NET::Foreign Commands
by moz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |