gjoshi has asked for the wisdom of the Perl Monks concerning the following question:

Hi all,

I have legacy code and which works with Perl version 5.6.1. Now i want to modify that code to do SSH to different server and execute some commands on other server. What should I use for it? Which module?

thanks --girija

Replies are listed 'Best First'.
Re: SSH using Perl version 5.6.1
by salva (Canon) on Sep 21, 2015 at 08:41 UTC
    It depends:
    • Which kind of authentication are you going to use?
    • Can you set up public key authentication?
    • Is a C compiler available?
    • A recent one?
Re: SSH using Perl version 5.6.1
by Anonymous Monk on Sep 21, 2015 at 09:00 UTC
      Did you try? https://metacpan.org/search?q=ssh

        Did you try? https://metacpan.org/search?q=ssh

        Then you'd have to check individually the testers matrix against perl5.6.1, but the http://cp5.6.1an.barnyard.co.uk/ does that