in reply to help to deal with ssh connection
I don't think you need use Net::SSH::Perl; since you don't seem to be using it in your script, what happens when you remove that line?
The Debian package libnet-ssh-perl actually contains only the Perl module Net::SSH. I haven't yet found the Debian package for Net::SSH::Perl, you may need to install it via cpan if you want it, but I'd recommend Net::OpenSSH (and you're already using that module in your script anyway).
On Ubuntu 12.10 or Debian wheezy and upwards you can get Net::OpenSSH via the package libnet-openssh-perl (and libio-pty-perl for password auth).
If your sysadmin boss wants (you) to use Perl, then he'll have to deal with installing a few modules along the way.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: help to deal with ssh connection
by mitchreward (Acolyte) on May 18, 2014 at 22:28 UTC | |
by salva (Canon) on May 19, 2014 at 08:20 UTC |