Hanging sshd connections on remote server

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 5.3
    • Affects Version/s: None
    • Component/s: SCP and SSH tasks

      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.

              Assignee:
              Unassigned
              Reporter:
              Robert Erica
              Votes:
              6 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: