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.
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.
We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events