Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3990534
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T06:30:25+00:00 2026-05-20T06:30:25+00:00

Looking to execute a perl script on a remote machine via a Perl script.

  • 0

Looking to execute a perl script on a remote machine via a Perl script. Appears one option is to use system() function and create an ssh key so the password is not required. Which leads me to the focus of this question, the other option appears to be to install and run one of these perl modules:

  • Net::SSH
  • Net::SSH2
  • Net::OpenSSH

Besides the protocol used, what else should I be comparing with these Perl modules?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T06:30:26+00:00Added an answer on May 20, 2026 at 6:30 am

    The Net::OpenSSH documentation has a section describing the pros and cons of each. Here are some excerpts related to the ones you are asking about, but the documentation lists more:

    Net::SSH is just a wrapper around any
    SSH binary commands available on the
    machine. It can be very slow as they
    establish a new SSH connection for
    every operation performed.

    Net::SSH2 is much better than
    Net::SSH::Perl, but not completely
    stable yet. It can be very difficult
    to install on some specific operative
    systems and its API is also limited,
    in the same way as Net::SSH::Perl.

    Net::OpenSSH has a very perlish
    interface. Most operations are
    performed in a fashion very similar to
    that of the Perl builtins and common
    modules (i.e. IPC::Open2).

    However, choice of platform may limit your options.

    On the other hand, Net::OpenSSH does
    not work on Windows, not even under
    Cygwin.

    Granted, the list is biased towards Net::OpenSSH, but it gives you an idea of the major differences between the modules.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am looking to execute a password change over Net-ssh and this code seems
I'm looking to be able to always execute both validateA and validateB: function validateA()
I am looking for a simple way to execute the ssh command in my
I'm looking to add a crontab entry to execute a script every 30 minutes,
i am looking to execute the following commands within a shell script: $ sqlite3
I'm looking to execute a function when the a page is loaded with a
I'm looking for an effective way to execute a method everyday at 3PM regardless
I am looking for a way to not have a plugin execute on install.
im looking to execute to execute command line commands from objective c. I know
I'm looking for a way to add some code to execute in all Page_Load

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.