in reply to Re: Re: Re: New Module: Net::SSH
in thread New Module: Net::SSH
Solution: run perl Makefile.PL POLLUTE=1, and then re-run make.
ObNet::SSH - I got it compiled without much trouble, but ran into three separate errors on trying to connect to the three hosts on which I have ssh access:
[~/src/Net-SSH-0.01] $ perl -Iblib/lib -mNet::SSH $s=Net::SSH::->new("host1"); $s->login("xxxxx","xxxxx"); print $s->cmd("ls"); __END__ Received server public key (768 bits) and host key (1024 bits). Corrupted check bytes on input at blib/lib/Net/SSH.pm line 135 [~/src/Net-SSH-0.01] $ perl -Iblib/lib -mNet::SSH $s=Net::SSH::->new("host2"); $s->login("xxxxx","xxxxx"); print $s->cmd("ls"); __END__ Received server public key (768 bits) and host key (1024 bits). Didn't expect to get packet of type 15 at - line 3 [~/src/Net-SSH-0.01] $ perl -Iblib/lib -mNet::SSH $s=Net::SSH::->new("host3"); $s->login("xxxxx","xxxxx"); print $s->cmd("ls"); __END__ Received server public key (768 bits) and host key (1024 bits). Can't open /etc/ssh_known_hosts: No such file or directory at - line 3
I looked around the code a bit, and it looks quite impressive. I'm looking forward to being able to play with it more. Keep up the good work!
-dlc
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (XS fix and first impressions) Re: New Module: Net::SSH
by btrott (Parson) on Jan 11, 2001 at 20:22 UTC |