Skip Menu |

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

Report information
The Basics
Id: 48437
Status: resolved
Priority: 0/
Queue: Net-SSH2

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

Bug Information
Severity: Important
Broken in:
  • 0.19
  • 0.20
  • 0.21
Fixed in: (no value)



Subject: Not possible to set timeout for connect method
When creating the object, or when connecting, it should be possible to set a timeout for connection, like this $ssh2->connect( $host, $timeout ); or $ssh2->connect( host => $host, timeout => $timeout ) # I prefer this one
In 0.22 you can now do: $ssh->connect('example.com', 22, Timeout => 30) -- Rafael