Hi All, I have searched and read all the old posts on this module. However I'm still having this problem, seemingly regardless of the host/client OS. Below is my debug output, it seems to hang on some kind of key exchange, and I've went as far as to turn most of the ssh options off, with the same result.
CODE:
my $host = <myhost>;
my $ssh = Net::SSH:erl->new($host, debug=>1, protocol=>2);
$ssh->login('root', $xxx);
DEBUG OUTPUT:
elm: Reading configuration data /export/home/schoover/.ssh/config
elm: Reading configuration data /etc/ssh_config
elm: Connecting to <myhost>, port 22.
elm: Remote protocol version 1.99, remote software version OpenSSH_3.9p1
elm: Net::SSH:erl Version 1.28, protocol version 2.0.
elm: No compat match: OpenSSH_3.9p1.
elm: Connection established.
elm: Sent key-exchange init (KEXINIT), wait response.
elm: Algorithms, c->s: 3des-cbc hmac-sha1 none
elm: Algorithms, s->c: 3des-cbc hmac-sha1 none
elm: Entering Diffie-Hellman Group 1 key exchange.
elm: Sent DH public key, waiting for reply.
Connection closed by remote host. at /usr/perl5/site_perl/5.8.4/Net/SSH/Perl/Kex/DH1.pm line 41
CODE:
my $host = <myhost>;
my $ssh = Net::SSH:erl->new($host, debug=>1, protocol=>2);
$ssh->login('root', $xxx);
DEBUG OUTPUT:
elm: Reading configuration data /export/home/schoover/.ssh/config
elm: Reading configuration data /etc/ssh_config
elm: Connecting to <myhost>, port 22.
elm: Remote protocol version 1.99, remote software version OpenSSH_3.9p1
elm: Net::SSH:erl Version 1.28, protocol version 2.0.
elm: No compat match: OpenSSH_3.9p1.
elm: Connection established.
elm: Sent key-exchange init (KEXINIT), wait response.
elm: Algorithms, c->s: 3des-cbc hmac-sha1 none
elm: Algorithms, s->c: 3des-cbc hmac-sha1 none
elm: Entering Diffie-Hellman Group 1 key exchange.
elm: Sent DH public key, waiting for reply.
Connection closed by remote host. at /usr/perl5/site_perl/5.8.4/Net/SSH/Perl/Kex/DH1.pm line 41