It sounded like that to me as well. I had the same problem, and found a
bug listed for it on Net::SSH::Perl's rt bugs.
But no answer. Asked around the perl irc community, and someone
suggested Math::BigInt::GMP was required, or he had the same problem. He
explained to me in depth why it caused
Sorry I didn't get you, why it is related to Math::BigInt::GMP?
To me it sounds like a SSH interactive issue...
On 30/05/06, Oyler, Nathan [EMAIL PROTECTED] wrote:
Have you installed Math::BigInt::GMP?
Might not be it, but I was having a somewhat similar problem that it
fixed.
Have you installed Math::BigInt::GMP?
Might not be it, but I was having a somewhat similar problem that it
fixed.
-Original Message-
From: Kelvin Wu [mailto:[EMAIL PROTECTED]
Sent: Monday, May 29, 2006 19:44 PM
To: Perl
Subject: Using Net::SSH::Perl to execute a set of commands
Hi,
I was trying to use Net::SSH::Perl to log into a remote box and execute a
program with pre-defined commands, something like:
#!/usr/bin/perl
use strict;
use Net::SSH::Perl;
my $ssh = Net::SSH::Perl-new(ip, debug = 0);
$ssh-login(name, password);
my ($return) = $ssh-cmd(minicom -S