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.
In reply to Re: help to deal with ssh connection
by Anonymous Monk
in thread help to deal with ssh connection
by mitchreward
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |