Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-12813

Hanging sshd connections on remote server

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 5.3
    • None
    • SCP and SSH tasks

    Description

      This concerns the SCP and SSH tasks plugin.

      After a succesfull run of a command by SSH the command completes correctly by the sshd process on the remote server never exits.

      Also see Atlassian Answers: Bamboo SCP/SSH Task - Hanging sshd connections on remote agent.

      As far as I can see it both in SshTask.java and in ScpTask.java a connection is build to a (remote) sshd with "ssh.connect(host, portNumber);". "ssh" being a "SSHClient" object.

      This connection is never (properly) disconnected with a corresponding "ssh.disconnect".

      This might cause the described behaviour.

      Attachments

        Activity

          People

            Unassigned Unassigned
            4532fce6f1fe Robert Erica
            Votes:
            6 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: