Net:SSH::Perl  -- required modules for unix server

Posted on 2007-08-06
Last Modified: 2011-09-20
I need a list of all the required modules to run Net:SSH::Perl on a Unix server.  This server does not have access to the Internet so I can not use ppm.
Question by:MatthewF
    LVL 48

    Expert Comment

    The easiest way to find out is by looking at the source.  Here you'll see that you'll need a number of related packages

    use Net::SSH::Perl::Packet;
    use Net::SSH::Perl::Buffer;
    use Net::SSH::Perl::Config;
    use Net::SSH::Perl::Constants qw( :protocol :compat :hosts );
    use Net::SSH::Perl::Cipher;
    use Net::SSH::Perl::Util qw( :hosts _read_yes_or_no );
    LVL 17

    Expert Comment

    Is this what you're looking for?  From the Net::SSH::Perl readme file, available at :

    $Id: README,v 1.22 2005/01/18 18:02:16 autarch Exp $

    This is Net::SSH::Perl. It contains implementations of
    both the SSH1 and SSH2 protocols.


    Protocol 1

        * Math::GMP (1.04 or greater)
        * String::CRC32 (1.2 or greater)
        * Digest::MD5
        * IO::Socket

    Protocol 2

        * Crypt::DSA (0.03 or greater)
        * Crypt::DH (0.01 or greater)
        * Math::Pari (2.001804 or greater)
        * MIME::Base64
        * Digest::MD5
        * Digest::SHA1
        * Digest::HMAC_MD5
        * Digest::HMAC_SHA1
        * Convert::PEM (0.05 or greater)
        * IO::Socket

    It also optionally requires Digest::BubbleBabble for
    generating bubble babble fingerprints, and Crypt::RSA
    (1.37 or greater) if you want to use RSA key files in SSH2.

    Note that RSA key files in SSH1 do not require Crypt::RSA.
    LVL 28

    Accepted Solution

    There's a well known problem with Net::SSH::Perl (very slow authentication) which requires installing a couple additional modules that are not part of the prerequisites.

    More detailed info can be found in one of my past questions:

    If you read my final post in that question, you'll see that to bring the authentication process up to a reasonable speed, you need these additional modules:


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
    Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
    Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now