in reply to SSH2 Hangs

Instead of Net::SSH::Perl try using Net::SSH2. The libssh2 library it is based on, is well maintanined and tested.

AFAIK, Net::SSH::Port was a direct port of OpenSSH source code from C to Perl, a huge and remarkable effort, but now, it's a module difficult to maintain and corrections on OpenSSH are not being backported :-(

Replies are listed 'Best First'.
Re^2: SSH2 Hangs
by knaqa (Initiate) on Mar 30, 2007 at 14:37 UTC
    OK, well I tried Net::SSH2 but i need to pre specify th uname and passwd. I have been unable to find examples on how to use this. I was unable to use Net::SSH due to the issue described above. That is why i resorted to Net::SSH::Perl. Does anyone have examples of how the SSH2 is used??