You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2016/03/10 16:46:19 UTC

[Bug 59162] New: Add SSH settings ServerAliveCountMax ServerAliveInterval

https://bz.apache.org/bugzilla/show_bug.cgi?id=59162

            Bug ID: 59162
           Summary: Add SSH settings ServerAliveCountMax
                    ServerAliveInterval
           Product: Ant
           Version: 1.9.6
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optional Tasks
          Assignee: notifications@ant.apache.org
          Reporter: flop.m@usa.net

Created attachment 33656
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=33656&action=edit
ssh task new parameters patch

Hello,

We use a sshexec task from a Ant script run from a Atlassian Bamboo build plan.

This sshexec task executes remote commands which can take a long time with no
output. At some point of time, the ssh connection is cut because the remote
server is inside a DMZ and the firewall times out the ssh connection.

I am posting a patch to permit the setting of ServerAliveInterval and
ServerAliveCountMax parameters supported by JSCH library.

The default values I put in the patch are the one from Linux OpenSSH_6.6.1p1
client (interval of 0 => disabled, and count max of 3)


Can you take a look and include it in the next release ?

BTW, when is the next release scheduled for ?

Thank you very much

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 59162] Add SSH settings ServerAliveCountMax ServerAliveInterval

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59162

--- Comment #1 from Issa Gorissen <fl...@usa.net> ---
Any comment on this ? Thx

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 59162] Add SSH settings ServerAliveCountMax ServerAliveInterval

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59162

Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |1.9.7
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Stefan Bodewig <bo...@apache.org> ---
fixed with git commit 851aa5f, thanks. This is a useful addition.

Your patch didn't compile since getServerAliceCountMax returned a boolean
rather than an int. Please take a look at the slightly modified version I
commited (see also commit edeb171).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 59162] Add SSH settings ServerAliveCountMax ServerAliveInterval

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59162

--- Comment #3 from Issa Gorissen <fl...@usa.net> ---
Thank you! Probably a copy/paste problem the boolean! I must confess I wrote
the code in a text editor without compiling it as it was quite trivial :-)

-- 
You are receiving this mail because:
You are the assignee for the bug.