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

Cannot connect using ssh

egroj97 February 1, 2021

While trying to test SSH connection from my newly installed Ubuntu machine (Bare metal) to bitbucket.org I get the following:

egroj97@tuf-ubuntu:~$ ssh -T git@bitbucket.org
client_loop: send disconnect: Broken pipe

I've made sure three times that the SSH key works, and was able to connect to github.com.

Any ideas?

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 2, 2021

Hi @egroj97 and welcome to the community.

Are you getting this error consistently when you try to test the SSH connection, or is it intermittent?

There is a possibility this error may be occur due to a firewall on your network. We've had a report on a similar issue where snort was used and a certain rule was blocking the connection. Are you using snort in that network?

This may also be caused by the issue mentioned in this blog post: https://community.atlassian.com/t5/Bitbucket-articles/Diagnosing-and-Troubleshooting-TCP-Resets-from-Bitbucket-Cloud/ba-p/1562132

In order to test this, could you try connecting to Bitbucket legacy IP addresses and see if this works?

18.205.93.2
18.205.93.0
18.205.93.1

You can try e.g.

ssh -T git@18.205.93.0

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events