tlassian/scp-deploy: ssh: connect to host x.y.z.a port 22: Connection timed out

Igal Schneider February 19, 2025

Hello, 

Since last week our scp-deploy pipeline is failing to connect to an aws host

i did follow the guide at https://support.atlassian.com/bitbucket-cloud/docs/what-are-the-bitbucket-cloud-ip-addresses-i-should-use-to-configure-my-corporate-firewall/ to enable the ssh for the deployment

Please advice

3 answers

1 vote
Phil C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 20, 2025

Hi Igal,

Based on the description and the information you've provided on the issue. The connectivity issues to Pipelines could be related to an update last year - updates on our 1x/2x size option pipelines builds to operate from a new, broader IP range. If you haven't allowlisted the pipeline IP ranges on your firewall, you could end up with connection issues.

More information can be found on a similar post here - Unknown Pipeline IP addresses

 

Cheers,

Phil C.

0 votes
Igal Schneider February 19, 2025

After adding 

- echo "Installing dig..."
- apt-get update && apt-get install -y dnsutils
- echo "Fetching pipeline public IP..."
- dig +short myip.opendns.com @resolver1.opendns.com
I see that I get an IP address 34.205.174.175 which is not listed in the document
Please have it updated ASAP
0 votes
Igal Schneider February 19, 2025

if i open SSH to ANY, the deployment works

is the support document outdated?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events