in reply to Re: SSH to a pix
in thread SSH to a pix

I also tried Net::SSH::W32Perl.

The script is as follows

use Net::SSH::W32Perl; my $host = 'xxx.xxx.xxx.xxx'; my $ssh = new Net::SSH::W32Perl($host,debug=>1); $ssh->login('user-id', 'passw');
Got this error

Nalina: Reading configuration data /.ssh/config Nalina: Reading configuration data /etc/ssh_config Nalina: Connecting to xxx.xxx.xxx.xxx, port 22. Nalina: Socket created, turning on blocking... Nalina: Remote protocol version 1.5, remote software version Cisco-1.2 +5 Protocol major versions differ: 2 vs. 1 at cisco_ssh.pl line 4
Please help me!

Regards

Nalina

Replies are listed 'Best First'.
Re^3: SSH to a pix
by tachyon (Chancellor) on Jun 23, 2004 at 10:35 UTC

    You PIX looks like it only speaks SSH 1 whereas Net::SSH::W32Perl only speak SSH 2.

    cheers

    tachyon