Azure DevOps Pipeline SSH Access Issue - Need Firewall Configuration Assistance

Izhan Jamal 5 Reputation points
2024-08-02T05:49:00.7733333+00:00

Hello,

I am currently facing an issue with my Azure DevOps pipeline. My pipeline needs to SSH into a Linux machine for deployment purposes. When I allow inbound traffic on port 22 from all networks, the pipeline works correctly. However, for security reasons, I do not want to allow SSH access from all IP addresses.

I have attempted to use Azure DevOps service tags in the firewall settings to restrict access, but I am still unable to establish an SSH connection from the pipeline to my Linux machine.

Could you please provide guidance on the correct firewall settings to allow my Azure DevOps pipeline to SSH into my machine securely? Specifically, I need to know how to configure the firewall to allow only the necessary Azure DevOps IP ranges or service tags.

Thank you for your assistance.

Community Center Not monitored
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.