in reply to using scp package and options
use Net::OpenSSH; $ssh = Net::OpenSSH->new($server, port => $port, batch_mode => 1, user => $user, key_path => $identity_file, master_opts => ['-C', '-oStrictHostKeyCheckin +g=no']); $ssh->scp_put($local_file, $remote_file) or die "scp_put failed: ".$ss +h->error;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: using scp package and options
by toohoo (Beadle) on Feb 11, 2015 at 16:37 UTC | |
by salva (Canon) on Feb 12, 2015 at 08:34 UTC |