Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

ssh: connect to host bitbucket.org port 22: Connection reset by peer

Fatih Ramazan Yılmaz
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 27, 2024

Hi Everyone,

When ı want to connect via ssh, sometimes ı can connect sometimes can not. 

Do u have any suggestion? 

Best Regards

Screenshot 2024-09-27 at 10.25.28.png

1 answer

1 accepted

0 votes
Answer accepted
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 30, 2024

Hi Fatih,

We have deprecated some of the IP addresses that were previously used by Bitbucket Cloud. The IP that your server is trying to connect to, 104.192.141.1, is one of these IPs.

You can find a list of IPs currently used by Bitbucket and also deprecated ones here:

Can you check the hosts file on this server and look if there are any entries that map bitbucket.org to a certain IP? If so, can you please remove these entries, save the file, and then try the operation again, so that your DNS resolves the domain name?

Kind regards,
Theodora

Manjeet Dayal
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 24, 2024 edited

Hello,
We recently started facing the connection reset error while running pipeline. I have updated the hosts.allow file with the IPs mentioned in the url provided.

Unfortunately the issue is not resolved. It's showing the same error.

PS: Removing all lines from hosts.deny solves the problem temporarily.

Suggest an answer

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

Atlassian Community Events