|
I'm not sure if this is a bug or I'm just missing something (I guess the latter). When trying to connect to 4 different ssh servers, I see the following:
Test command:
[luser@nihal]$ perl -MNet::SSH::Perl -e '$ssh = new Net::SSH::Perl("10.0.0.1", \
debug => "1", protocol => "2", port => "4400", identity => "/home/luser/.ssh/id_rsa"); \
($out, $err, $rv) = $ssh->cmd("echo foo"); print "out is $out\nerr is $err\nrv is $rv\n";'
output:
nihal: Reading configuration data /home/luser/.ssh/config
nihal: Reading configuration data /etc/ssh_config
nihal: Connecting to 10.0.0.1, port 4400.
nihal: Remote protocol version 2.0, remote software version OpenSSH_4.3
nihal: Net::SSH::Perl Version 1.33, protocol version 2.0.
nihal: No compat match: OpenSSH_4.3.
nihal: Connection established.
nihal: channel 0: new [client-session]
nihal: Requesting channel_open for channel 0.
nihal: Entering interactive session.
out is
err is
rv is
Logged on the ssh server:
Oct 29 20:12:18 mirzam sshd[32611]: Disconnecting: protocol error: rcvd type 90
The log message is generated on centos openssh 4.3, but not on gentoo openssh 4.7 (no relevant logs at all even at DEBUG3 there).
Any ideas are appreciated. |