Skip Menu |
 

This queue is for tickets about the Net-SSH-Perl CPAN distribution.

Report information
The Basics
Id: 66433
Status: open
Priority: 0/
Queue: Net-SSH-Perl

People
Owner: Nobody in particular
Requestors: sagarveerla [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Timeout option for ssh command
Date: Mon, 7 Mar 2011 10:23:20 +0930
To: bug-Net-SSH-Perl [...] rt.cpan.org
From: Sagar Veerla <sagarveerla [...] gmail.com>
Download (untitled) / with headers
text/plain 237b
Hi, This is a but or not am not sure. However i would like to clarify. Will a ssh command time out using Net::SSH::Perl. I tried by passing Connection Timeout param but which is of of no use? Could you please clarify? Thanks, Sagar
From: aparadis1 [...] club-internet.fr
Download (untitled) / with headers
text/plain 478b
Hi, I apply this patch, it's work I added the following to Perl.pm, right after the socket creation to give me a send/receive timeout of 10 seconds: setsockopt($sock, SOL_SOCKET, SO_SNDTIMEO, pack('LL', 10, 0) ) or die $!; setsockopt($sock, SOL_SOCKET, SO_RCVTIMEO, pack('LL', 10, 0) ) or die $!; http://webcache.googleusercontent.com/search?q=cache:_I7_Ul90AKAJ:www.perlmonks.org/%3Fnode_id%3D566455+Net::SSH::Perl+Connect+Timeout&cd=1&hl=fr&ct=clnk&gl=fr&client=firefox-a
From: aparadis1 [...] club-internet.fr


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.