This issue is archived. You can view it, but you can't modify it. Learn more

ExportXMLWordPrintable

      Every reconnect to a SSH agent leads to an additional running sshd process on that agent host.

      Example:

      • Configure the "In demand delay" of a SSH agent to 1 Minute.
      • Connect the agent.
      • Wait a minute, so that Jenkins disconnects that agent.
      • Run (for instance) ps faux.
      • You can find a running sshd process.
      • Reconnect the agent and wait, until Jenkins disconnects it.
      • RunĀ ps faux again.
      • You see, that there is an additional sshd process running.

      Edit:
      I see, that this happens not all time. If the connection got closed successfully, you can see the following lines in the agent log:

      Connection terminated
      channel stopped
      Slave JVM has terminated. Exit code=0
      [08/10/17 07:52:33] [SSH] Connection closed.
      

      But if I discover the behavior described above, the last two lines (especially the one with Connection closed) are missing:

      Connection terminated
      channel stopped
      

            Assignee:
            Ivan Fernandez Calvo
            Reporter:
            Jochen A. Fürbacher
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: