perl-Net-SSH2-Cisco - interact with a Cisco router via SSH

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Net-SSH2-Cisco
Package version 0.04
Package release alt1
Package architecture noarch
Package type rpm
Installed size 85.39 KB
Download size 85.39 KB
Official Mirror
Net::SSH2::Cisco provides additional functionality to Net::SSH2
for dealing with Cisco routers in much the same way Net::Telnet::Cisco
enhances Net::Telnet.  In fact, this module borrows heavily from
both of those excellent modules.
This module is basically a cut/paste of:
=over 2
=item *
70% Net::Telnet
=item *
20% Net::Telnet::Cisco
=item *
5% Net::SSH2(::Channel)
=item *
5% original hack to make it all work together
I tried many ways first:
=over 2
=item *
Create a child class of Net::SSH2 to no avail due to the C-type
inside-out object it returns and my lack of experience.
=item *
Pass a Net::SSH2(::Channel) connetion to Net::Telnet(::Cisco) fhopen()
method, but it returned:
`Not a GLOB reference at [...]/perl/vendor/lib/Net/ line 679.'
=item *
Use Net::Telnet in `@ISA' with `AUTOLOAD' to leverage the accessors and
code already written, but I'm not creating a Net::Telnet object and
I couldn't get it to work.
That left me the *(?only?)* option - to write this Franken-module "liberally
borrowing" from much smarter, more talented programmers than I.
Why Net::SSH2?  Because it's the only SSH module on CPAN that works for me.
=over 2
=item *
Net::SSH::Perl - too many dependencies making it too difficult to install;
especially on Windows.
=item *
Net::OpenSSH - does not work on Windows (partial success).
=item *
Control::CLI - does a great job of being a parent to Net::SSH2 and
Net::Telnet.  Unfortunately, not Net::Telnet::Cisco, so no Cisco-specific
=item *
Net::Appliance::Session - seemed promising, but has more dependencies
than Net::SSH::Perl; no go.
Net::SSH2 comes bundled in vendor\lib with Strawberry Perl distributions
and I've heard no complaints on Perl boards about use on *nix; so we're
ready to go!


Package Version Architecture Repository
perl-Net-SSH2-Cisco - - -


Name Value
/usr/share/perl5 -
perl( -
perl(IO/Socket/ -
perl(Net/ >= 0.510
perl( -
perl( -
perl( -
rpmlib(PayloadIsLzma) -


Name Value
perl(Net/SSH2/ = 0.040
perl-Net-SSH2-Cisco = 0.04-alt1


Type URL
Binary Package perl-Net-SSH2-Cisco-0.04-alt1.noarch.rpm
Source Package perl-Net-SSH2-Cisco-0.04-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] noarch autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Net-SSH2-Cisco rpm package:
    # sudo apt-get install perl-Net-SSH2-Cisco



See Also

Package Description
perl-Net-SSH2-Expect-0.2-alt2.noarch.rpm An Expect like module for Net::SSH2
perl-Net-SSL-AutoCA-0.0.0-alt1.noarch.rpm perl module Net-SSL-AutoCA
perl-Net-SSL-ExpireDate-1.20-alt1.noarch.rpm obtain expiration date of certificate
perl-Net-SSLGlue-1.058-alt1_7.noarch.rpm Add/extend SSL support for common perl modules
perl-Net-SSLeay-OO-0.02-alt1.noarch.rpm OO Calling Method for Net::SSLeay
perl-Net-STF-Client-1.01-alt1.noarch.rpm STF Client
perl-Net-STOMP-Client-2.3-alt1_7.noarch.rpm STOMP object oriented client module
perl-Net-Saasu-0.2-alt1.noarch.rpm Interface to the Saasu online accounting platform!
perl-Net-Safari-0.02-alt1.noarch.rpm Wrapper for Safari Online Books API
perl-Net-Salesforce-1.101-alt1.noarch.rpm Authentication against Salesforce OAuth 2 endpoints
perl-Net-Scan-SSH-Server-SupportedAuth-0.02-alt1.noarch.rpm detect supported authentication method of SSH server
perl-Net-SeedServe-0.2.7-alt1.noarch.rpm perl module Net-SeedServe
perl-Net-Semantics3-0.20-alt1.noarch.rpm >_make_request( 'GET', $path, $jsonParams );
perl-Net-SenderBase-1.01-alt1.noarch.rpm perl module Net-SenderBase
perl-Net-Sendy-API-0.03-alt1.noarch.rpm Perl SDK to