Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Net::SSH::Perl doesn't respect ConnectTimeout option #17

Open
jobman-mike opened this issue Nov 24, 2021 · 1 comment
Open

Net::SSH::Perl doesn't respect ConnectTimeout option #17

jobman-mike opened this issue Nov 24, 2021 · 1 comment

Comments

@jobman-mike
Copy link

jobman-mike commented Nov 24, 2021

Net::SSH::Perl seems to ignore "ConnectTimeout" and proceeds to hang for a while.
This makes it tricky to use with a batch of servers (When one stops responding)

E.g:

my $ssh    = Net::SSH::Perl->new($_, options => [
"Compression $UseCompression",
"Port $port",
"IdentityFile $IdentityFile",
"BatchMode yes",
"ConnectTimeout=5"]);

Is this likely to be something that can easily be resolved?

@briandfoy
Copy link
Contributor

I've forked this project at briandfoy/net-ssh-perl, and you can reopen this issue there if you'd like. Otherwise, I'll add it myself at some later time. See #22.

If you include text like transferred from linkley/Net-SSH-Perl#17, GitHub should make a reference between the two issues. You should see such a reference in this issue now.

I don't have a fix for this issue, but can merge someone else's work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants