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 ?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.