It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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 ?

 

1 answer

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 Continuous Delivery

Our Atlassian Partners continue to support their customers during coronavirus pandemic

Across the world, governments and healthcare authorities are demonstrating the power of collaboration to find solutions to the COVID-19 pandemic, to protect our communities, and to get things back to...

741 views 0 11
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