my $ssh = Net::OpenSSH->new($SERVER, user => $USER, master_opts => [-i => $KEYFILE], master_stderr_discard => 1); $ssh->error and die "unable to connect to remote host: " . $ssh->error +; my $out = $ssh->capture({stdin_data => $lines});
In reply to Re: Connecting to STDIN and STDOUT over SSH
by salva
in thread Connecting to STDIN and STDOUT over SSH
by enemyofthestate
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |