Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Net::SSH::Perl doesn't like long commands

by syphilis (Canon)
on Jun 10, 2013 at 14:01 UTC ( #1038078=note: print w/ replies, xml ) Need Help??


in reply to Net::SSH::Perl doesn't like long commands

Net::SSH::Perl doesn't like long commands

Net::SSH::Perl has a history of not being user-friendly.
Fer chrissake just use one of salva's SSH modules - whichever one is right for your OS , and ask if you don't know which one that is.
(salva is far too modest to state that explicitly, but I'm not bound by any such constraints.)

I mean no offence to the current maintainer (yes, it apparently now has one) of Net::SSH::Perl, but a module that contains the word "Perl" in its name yet has so many C-extensions as pre-requisites, is surely trying to sell itself on false pretences.

Cheers,
Rob


Comment on Re: Net::SSH::Perl doesn't like long commands
Re^2: Net::SSH::Perl doesn't like long commands
by salva (Abbot) on Jun 10, 2013 at 14:39 UTC
    I am not so modest. The thing is more on the I-am-tired-of-recommending-my-modules side :-)

    My usual recommendation is to go for Net::OpenSSH if you are on a Linux/Unix box and Net::SSH2 (currently being maintained by Rafael Kitover) if you are on Windows.

    Net::SSH::Any is supposed to provide an unified interface to both modules but it is still a work in progress. Though, it is already been used, and what it does, it does it right, mostly!

      and Net::SSH2 (currently being maintained by Rafael Kitover) if you are on Windows

      And many thanks to Rafael for that module - I'm on MS Windows, and that's the precise module I use. (Of course, I use it via Net::SSH2::Foreign::Backend::Net_SSH2 ... not sure where *that* module comes from ;-)

      Cheers,
      Rob
      and Net::SSH2 (currently being maintained by Rafael Kitover) if you are on Windows

      And many thanks to Rafael for that module - I'm on MS Windows, and that's the precise module I use. (Of course, I use it via Net::SSH2::Foreign::Backend::Net_SSH2 ... not sure where *that* module comes from ;-)

      UPDATE: Ooops ... I'm confusing SFTP and SSH2, now. Probably time for a nap;-)

      Cheers,
      Rob

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (12)
As of 2015-07-01 21:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (22 votes), past polls