Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,295,594
Community Members
 
Community Events
165
Community Groups

ssh -v git@bitbucket hangs

I have some problems with bitbucket...

When I try to push or pull data the connection hangs indefinitely...

I try to debug the connection and with `ssh -v git@bitbucket.org' and every time it stops on:

debug1: Connecting to bitbucket.org [18.205.93.0] port 22.

 

The IP changes and everytime it hangs but the only time that the test passed was with the ip 18.205.93.2

 

So to be able to continue to work I did a small and nasty patch.

`nano /etc/hosts`

Then 

18.205.93.2     bitbucket.org

 

So ma y question is why bitbucket returns ips that hangs ?

 

3 answers

Same problem only on a specific machine. 

root@linux14:~/infra-backup# ssh -v git@bitbucket.org
OpenSSH_8.2p1 Ubuntu-4ubuntu0.4, OpenSSL 1.1.1f 31 Mar 2020
debug1: Reading configuration data /root/.ssh/config
debug1: /root/.ssh/config line 1: Applying options for bitbucket.org
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug1: Connecting to bitbucket.org [104.192.141.1] port 22.

0 votes
BillyP Community Leader Aug 28, 2018

hi Jose.Magana@hexis.fr

 Running

nslookup bitbucket.org

Returns

Non-authoritative answer:
Name: bitbucket.org
Address: 18.205.93.0
Name: bitbucket.org
Address: 18.205.93.1
Name: bitbucket.org
Address: 18.205.93.2

Having a .0 IP isn't a normal practice but feasible.  

I confirmed settings will function with the .1 and the .2 addresses.  

ssh -i ~/.ssh/[your_rsakey] git@bitbucket.org

I'm not sure why it's configured for a .0 address.  

Thanks but the problem still persists.

ip .0 and .1 always hangs

ssh -v git@bitbucket.org
OpenSSH_7.4p1 Debian-10+deb9u3, OpenSSL 1.0.2l 25 May 2017
debug1: Reading configuration data /home/magana/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to bitbucket.org [18.205.93.0] port 22.

 

the ip .2 runs as expected.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,170 views 2 9
Read article

Community Events

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

Events near you