Re: [Ssh-sftp-perl-users] Problem getting output using Net::SSH2
Brought to you by:
dbrobins
From: Thierry C. <thi...@gm...> - 2011-05-05 07:43:29
|
Le 05/05/2011 07:30, Fitzpatrick, Robert M (Rob) a écrit : > If I manually ssh into the remote box and run the command it returns > values as expected, and if I do something similar using Net::SSH::Perl > it works as well, however, Net::SSH::Perl seems to take upward of 30 > seconds to create a connection which isn't an option in this environment > (and yeah - I've tried all the math module stuff which didn't seem to > make a difference:-( ) Hello, There is a very good alternative to Net::SSH::Perl. It is Net::OpenSSH. It is using openssh, but it is a very good implantation. It is working well, it implement scp, sftp, channel. But I am quite sure that connecting in 30 second is not a normal behavior. The dependancies of Net::SSH::Perl are painfull. I never remember if it is Math::BigInt that accelerate the whole thing, or a GMP::*. I see that you think that you have installed all this stuff, but I think you should check this an other time. Thierry |