Net::SSH::Perl extremely slow?



I have a simple perl script that connects to a remote machine and
executes a command. Net::SSH::Perl seems etremely slow, but I've tried
it on 2 machines (Suse 9.3 and Suse 9.2). They aren't the fastest
machine, but both are over 2GHz so I thought I'd be ok. Both have 1 Gig
of RAM. I've tested over the network and against the loopback
interface.

here's the code. It ends up executing completely, it just takes 20-30
seconds.

Does this seem unusually long to anyone?

<trim>
$ssh = Net::SSH::Perl->new("192.168.1.69",debug=>1,protocol=>2,options
=>[ "UserKnownHostsFile /var/lib/wwwrun/.ssh/ssh_known_hosts",
"IdentityFile /var/lib/wwwrun/.ssh/id_dsa" ] );
$ssh->login("webrun");
#
($out, $err, $exit)=print $ssh->cmd("ls -la");
<trim>

tia, y

.



Relevant Pages

  • Re: OT: The CATV Planning Department
    ... The only variable adjustments on the SA amps were on the plug-in trim networks - horrible things - which were used to trim the frequency response to get things level. ... (865MHz with our Teleste network)) ... We weren't impressed and watched the hump in the response that built up as we went along the cascade but had to admit it was the same everywhere. ... A wad of sweep responses went of to Finland and a special 'de-bumper' came back - a custom 10dB equaliser. ...
    (uk.tech.digital-tv)
  • Re: OT: The CATV Planning Department
    ... The only variable adjustments on the SA amps were on the plug-in trim networks - horrible things - which were used to trim the frequency response to get things level. ... (865MHz with our Teleste network)) ... When we saw the Teleste kit, the first thing we said was "Where's the trim network?" ... A wad of sweep responses went of to Finland and a special 'de-bumper' came back - a custom 10dB equaliser. ...
    (uk.tech.digital-tv)
  • Re: [PATCH] x86_32: trim memory by updating e820 v2
    ... when mtrr is not covering all e820 table, need to trim the ram, need to ... reuse some code for x86_64 ...
    (Linux-Kernel)
  • Re: [PATCH] x86_32: trim memory by updating e820 v3
    ... for example Mika Fischer's system doesn't need to trim any RAM in MTRR. ... Then have an option for RAM trimming that is ...
    (Linux-Kernel)
  • Re: [PATCH] x86_64: update e820 instead of updating end_pfn
    ... when mtrr is not covering all e820 table, need to trim the ram, need ...
    (Linux-Kernel)