Ask a Question related to PERL Modules, Design and Development.
-
Yon #1
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
Yon Guest
-
EXTREMELY slow file transfer HELP!
I have a tremendous problem. I have about 15 sites that I developed and manage with Dreamweaver. For some reason the transfer rate for one of them... -
Extremely Slow Printing in 6.01
Thanks for your response. That doesn't seem to help though. Whereabouts are the "issues regarding post script vs. PCL" that you mention? ... -
Extremely Slow WebService
My web service is running extrememly slow when consumed in Excel VBA (using MS Office XP Web Services toolkit to add a Web Reference to ws). I'm... -
Extremely slow wireless connection over 802.11b
First take a look at the Netgear router. Make sure that it is set up to handle the highest speed it is capable of. I use a LinkSys and there is a... -
Database is extremely slow
I have an Oracle 7.3.4.4 database that is experiencing extremely slow response times in the past few days. I know that one of the tables had as... -
Radomir Hejl #2
Re: Net::SSH::Perl extremely slow?
"Yon" <yonyohnson@hotmail.com> writes:
Try to supply passwd and port like this:> 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
$ssh = Net::SSH::Perl->new("192.168.1.69", port=>22);
$ssh -> login('webrun','passwd');
My time is around 5 seconds.
HTH, Radek
Radomir Hejl Guest



Reply With Quote

