in reply to Re^3: Net::OpenSSH Problem
in thread Net::OpenSSH Problem
$ssh->error and die "Couldn't establish SSH connection: " . $ssh->erro +r; $ssh->system('!bash') or die "remote command failed: " . $ssh->error; # remote end will look like this after !bash # bp>!bash # [kburns@ssl01-d:Active] ~ # print "will never print this line\n"; $ssh->system('pwd') or die "remote command failed: " . $ssh->error;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Net::OpenSSH Problem
by salva (Canon) on Sep 12, 2013 at 17:18 UTC | |
by kburns1969 (Novice) on Sep 12, 2013 at 17:30 UTC |