Details
-
Fix
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Current Situation
- Starting with
YADE-527, YADE supports sending keep-alive messages. - Starting with
YADE-593, the default SSH provider was changed to SSHJ.- The keep-alive functionality for this provider is broken, and the ServerAliveInterval/ServerAliveCountMax settings have no effect.
Desired Behaviour
- The keep-alive functionality should work with all SSH providers.
Workaround
- Switch back to the JSCH provider (see
YADE-593,YADE-577).- Note: If the affected YADE is used on a jump host, the JumpCommand can be extended to:
- JumpFragments -> JumpCommand: <install>/yade.cmd|.sh -ssh_provider=JSCH
- Note: If the affected YADE is used on a jump host, the JumpCommand can be extended to:
- Or apply patch:
- Unzip the patch yade-1.13.22-PATCH-1.YADE-625.zip to the <yade install>/lib/patches directory.
Test Instructions
- Configure YADE to use ServerAliveInterval=10s, ServerAliveCountMax=3.
- Ensure that the SSHJ provider is being used.
- Example on a Windows OpenSSH Server:
- configure a Post|PreProcessing command: @powershell Start-Sleep -Seconds 30
- check the OpenSSH Server logs to find (messages should be sent every 10 seconds):
- debug1: server_input_global_request: rtype keepalive@openssh.com want_reply 1