Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

SSH Connection timedout

Ragul November 19, 2019

Hi Team,

 

We are hosting our application in AWS-EC2.

We have created SSH public and private key in bitbucket and added the public key to the remote host.

We have created bitbucket-pipelines.yml file and try to run the pipeline.

But couldn't able to login to remote server and finally it through out the error with the following message " Connection timed out".

I have restricted the SSH access in my security group to allow only the specific address.

When I remove the restriction of SSH. I can able to check the host-key verification.

If it is the issue. What are all the IPs do I need to add in my security group to allow the bitbucket pipeline to communicate with my remote host.

Kindly assist us with the better solution to proceed further. 

 

Best Regards,

V Ragul

 

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 7, 2020

Hi Ragul,

If you have restrictions on the IPs that can communicate with your remote host, you can whitelist the IP ranges in the following document:

Specifically, the ones mentioned in the section "Valid IP addresses for Bitbucket Pipelines build environments".

Please feel free to let us know if this works or if you need further assistance.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events