Uploaded image for project: 'YADE - Yet Another Data Exchange Tool'
  1. YADE - Yet Another Data Exchange Tool
  2. YADE-625

YADE SFTP - sshj provider - KeepAlive functionality is broken

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • 1.13.23
    • YADE Client
    • 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
      • Or apply patch:

      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

      Attachments

        Activity

          People

            re Robert Ehrlich
            re Robert Ehrlich
            Kanika Agrawal Kanika Agrawal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: