Perl Openssh



Changes for version 0.80

I am attempting to login to an HP Switch (3500) from a Perl script on a Linux server. I'm stuck with using Net::OpenSSH as the only module available to me. It hangs everytime I try to log in, t.

Modules

From: Rajeev Prasad To: perl list perl.org Sent: Friday, January 20, 2012 1:10 PM Subject: Net::Openssh and sudo? Hello, using Net::Openssh how can i use sudo to become some other user (say root) on a target machine and then execute a series of commands as root? Download openssh-askpass-7.4p1-21.el7.x8664.rpm for CentOS 7 from CentOS repository.

Perl SSH client package implemented on top of OpenSSH
cache and reuse SSH connections transparently
Constant definitions for Net::OpenSSH

Perl Openssh Capture2 Sudo Command

trace ssh master process at the OS level
Perl SSH client package implemented on top of OpenSSH
Quoter for Windows cmd.exe
Quoter for Win32::CreateProcess

Provides

in lib/Net/OpenSSH/ModuleLoader.pm
in lib/Net/OpenSSH/ObjectRemote.pm

Linux Openssh Package

in lib/Net/OpenSSH/ShellQuoter.pm

How To Install Perl

in lib/Net/OpenSSH/ShellQuoter/Chain.pm
in lib/Net/OpenSSH/ShellQuoter/POSIX.pm
Perl Openssh
in lib/Net/OpenSSH/ShellQuoter/csh.pm
in lib/Net/OpenSSH/ShellQuoter/fish.pm

Other files

To install Net::OpenSSH::ShellQuoter::fish, copy and paste the appropriate command in to your terminal.

For more information on module installation, please visit the detailed CPAN module installation guide.