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
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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.