Forums

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

ssh -v git@bitbucket hangs

Jose.Magana@hexis.fr
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!
August 28, 2018

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

1 vote
Leandro Gomes Martinez
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 15, 2020
0 votes
josir
Contributor
April 21, 2022

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 Champion
August 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.  

Jose.Magana@hexis.fr
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!
August 29, 2018

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
AUG Leaders

Atlassian Community Events