Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

by salva (Abbot)
on Jun 10, 2013 at 14:39 UTC ( #1038087=note: print w/ replies, xml ) Need Help??


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

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!


Comment on Re^2: Net::SSH::Perl doesn't like long commands
Re^3: Net::SSH::Perl doesn't like long commands
by syphilis (Canon) on Jun 10, 2013 at 14:54 UTC
    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
Re^3: Net::SSH::Perl doesn't like long commands
by syphilis (Canon) on Jun 10, 2013 at 14:58 UTC
    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://1038087]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2014-12-19 00:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (69 votes), past polls