Re: [Ssh-sftp-perl-users] SSH connection to Cisco device
Brought to you by:
dbrobins
From: David R. <dbr...@cp...> - 2006-02-03 04:35:28
|
On Thursday February 2, 2006 11:55, Eric Langheinrich wrote: > > > > use Net::SSH::Perl; > > my $ssh = Net::SSH::Perl->new('10.x.x.x', options > > => ['Port 22']); > > $ssh->login('USERNAME', 'PASSWORD'); > > my($stdout, $stderr, $exit) = $ssh->cmd('sh ver'); > > print $stdout; > > > > ERROR: > > Can't locate Math/GMP.pm in @INC (@INC contains: > > You need to install Math::GMP before you install Net::SSH::Perl ... > Also looks like your Net::SSH::Perl isn't properly installed. Let me add that I'm not sure Net::SSH::Perl works on Windows at all; you may have more luck with Net::SSH2. -- Dave Isa. 40:31 |