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.
...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...
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