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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,463,742
Community Members
 
Community Events
176
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

Atlassian Community Events