in reply to How do I connect to cisco pix via ssh?
in thread How do I connect to cisco pix via ssh?
Hi
Thanks for the reply.
I downloaded Perl.pm (Net::SSH::Perl) module and tried to connect to remote cisco pix through ssh Following is my script
perl Makefile.PL
nmake
nmake test
I got an error saying
'cl' is not recognized as an internal or external command, operable program or batch file. NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0x1' Stop.
what do i do now?
Thanks
Nalina
Thanks for the reply.
I downloaded Perl.pm (Net::SSH::Perl) module and tried to connect to remote cisco pix through ssh Following is my script
But while installing GMP with nmakeuse Net::SSH::Perl; $host="IP"; $username = "username"; $pass = "password"; my $ssh = Net::SSH::Perl->new("$host"); $ssh->login($username, $pass); my($stdout, $stderr, $exit) = $ssh->cmd(sh access-list access_inside_i +n); print "output: $stdout\n"; print "Error: $stderr\n"; print "status: $exit\n";
perl Makefile.PL
nmake
nmake test
I got an error saying
'cl' is not recognized as an internal or external command, operable program or batch file. NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0x1' Stop.
what do i do now?
Thanks
Nalina
Edited by Chady -- added code tags.
In Section
Seekers of Perl Wisdom