Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: SSH and qx

by cbeckley (Curate)
on Mar 13, 2017 at 16:23 UTC ( #1184442=note: print w/replies, xml ) Need Help??


in reply to Re: SSH and qx
in thread SSH and qx

Thanks for taking the time to look at this.

The version of Perl running is v5.12.3. Neither Net::SSH nor NET::OpenSSH, which is what I use elsewhere, are installed. v5.12.3 is good in that it opens some of the options that you and haukex have mentioned. This is the last machine of it's ilk in the environment and due to a number of reasons its retirement keeps getting postponed, and while I'm attempting to work through the resistance facing the installation of even local copies of Perl modules, unless I get permission to install new modules I'm stuck with what's currently installed.

Thanks,
cbeckley

Replies are listed 'Best First'.
Re^3: SSH and qx
by salva (Abbot) on Mar 14, 2017 at 07:55 UTC
    Net::OpenSSH is a pure Perl module. You just have to copy everything in the lib directory from the module distribution into some directory in the machine and add that directory into @INC to get it working.

    The only possible issue would be that the available ssh could be too old. If that is the case, you can also try Net::SSH::Any, that will happily work with older versions of ssh using the Ssh_Cmd backend.

    Net::SSH::Any is also a pure Perl module that you can install in the same way, just copying the contents of its lib directory.

      Wonderful! That worked like a charm! Thank you so much!

      Now I have these even older boxes where perl -v returns 5.004_04 ... :-p

      Thanks,
      cbeckley

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1184442]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2020-05-28 08:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (165 votes). Check out past polls.

    Notices?