Skip to content

[Question]: SSH@0 on Self hosted Docker agent - Stuck forever #20988

Open
@ummarbhutta

Description

@ummarbhutta

Task name

SSH

Task version

0

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

Azure DevOps Server (Please specify exact version in the textbox below)

Azure DevOps Server Version (if applicable)

Version Dev18.M170.6

Operation system

Ubuntu 24.04

Question

Hello,

I have created an AzureDevOps pipeline and in that pipeline I want to use SSH@0 task to execute SSH commands to a remote VM, located inside my network and accessible from the host where build agent is installed.

When the tasks starts, it mentions that connected successfully, but after that it is stuck forever, see following screenshot

Image

It looks like that remote host is waiting for some input but I can't figure out what is it exactly as screen doesn't show any thing other that what is shown in above screen shot. I already tried enabling debug logs and verbose logs but this task never shows more than these logs.

As I mentioned, I am using self-hosted build agent deployed inside a docker container. Build agent version is 4.253.0

Any help is appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions