Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Net::SFTP::Foreign frequent connection server stall

by zentara (Archbishop)
on Jun 20, 2012 at 18:44 UTC ( #977448=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Net::SFTP::Foreign frequent connection server stall
in thread Net::SFTP::Foreign frequent connection server stall

Hi, Net::SSH2 was designed to replace the old sftp and ssh module. You can ask the SSH experts on the maillist at ssh-sftp-perl maillist for all the details. The switch started about 10 years ago, and at the time the most important reason was to eliminate the numerous math library dependencies , like Math::Pari which was an installation hassle, and often resulted in sftp dropping back to very slow pure Perl math processing. It also brought all of the various ssh utilities, like sftp, scp, ssh under one module. I've found it easy to install and use, as it only requires libssh2 to be installed with it's development headers.


I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh


Comment on Re^3: Net::SFTP::Foreign frequent connection server stall
Re^4: Net::SFTP::Foreign frequent connection server stall
by salva (Monsignor) on Jun 21, 2012 at 07:55 UTC
    zentara, Net::SFTP::Foreign is not any of the old sftp and ssh modules Net::SSH2 intended to replace.

    Net::SSH2 is a great module, but it is far from being the only one or even the best SSH module currently available. Specifically, as a wrapper of a C library, it is very low level, not very perlish and in general hard to use. Its support for the SFTP protocol is rather rude and inefficient. And besides that, the underlying libssh2 is not as mature as other SSH implementations with new bugs being discovered all the time.

    I am highly biased here, but IMO, on Unix/Linux, Net::OpenSSH and Net::SFTP::Foreign are far superior to Net::SSH2.

      Hi Salva, I never meant to denigrate Net::SFTP::Foreign, I was just pointing out a possibly easier to use alternative, since the OP said he was at wit's end. My apologies to your fine modules if it seemed that way.

      I'm not really a human, but I play one on earth.
      Old Perl Programmer Haiku ................... flash japh
        Hi Zentara, I didn't find your comment denigrating, just a little confusing and with some need for clarification :-)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2014-10-25 22:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (149 votes), past polls