in reply to (XS fix and first impressions) Re: New Module: Net::SSH
in thread New Module: Net::SSH

> I'll eat my left hat if it's not 5.6+, and I'll eat my right > hat if btrott isn't working with 5.005_03 or lower.
Yep. Thanks for clearing this up!

W/r/t the Net::SSH errors:

Corrupted check bytes on input at blib/lib/Net/SSH.pm line 135
This one bothers me slightly. Though you didn't get the same problem for the other hosts, which is good. Could be a problem w/ the encryption cipher perhaps; that's when I'd get this sort of message during testing.
Didn't expect to get packet of type 15
15 is a failure message from the server. This is partly due to my not-so-robust error checking at this point. This error message occurs during the client loop after executing the command remotely; only certain packets are expected. Failure isn't an option, ha ha. :)

Anyway, I'll look at this; don't know why trying to run a command would cause failure.

Can't open /etc/ssh_known_hosts
This is fairly self-explanatory; host3 must not be in your ~/.ssh/known_hosts (or the host keys didn't match--not yet distinguishing this from new hosts), so Net::SSH tried to look in /etc/ssh_known_hosts... which doesn't exist.

Anyway, thanks very much for the error reports. When trying to fix the errors I may now get in contact with you and ask you to rerun them after I implement some better debugging tools.