Hello,
I am using a VirtualBox , host os: windows 10, Virtual OS: Linux
$ssh -v git@bitbucket.org
OpenSSH_7.2p2 Ubuntu-4ubuntu2.8, OpenSSL 1.0.2g 1 Mar 2016
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to bitbucket.org [2406:da00:ff00::22e9:9f55] port 22.
hangs forever, so this is why push hangs forever for me. I added my key to my setting. The repo is not in my account though and I am contributing to my colleagues repo.
Please let me know what to do.
Hello @Javad,
Welcome to the Community!
It looks like your ISP or intermediate network device doesn't support IPv6. SSH prefers IPv6 if it got AAAA record from DNS server. Can you try forcing SSH to use IPv4, like this:
ssh -v -4 git@bitbucket.org
Hope this helps.
Cheers,
Daniil
Thank you @Daniil Penkin
I tried and this is the return
ssh -v -4 git@bitbucket.org
OpenSSH_7.2p2 Ubuntu-4ubuntu2.8, OpenSSL 1.0.2g 1 Mar 2016
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.2] port 22.
debug1: connect to address 18.205.93.2 port 22: No route to host
debug1: Connecting to bitbucket.org [18.205.93.0] port 22.
debug1: connect to address 18.205.93.0 port 22: No route to host
debug1: Connecting to bitbucket.org [18.205.93.1] port 22.
debug1: connect to address 18.205.93.1 port 22: No route to host
ssh: connect to host bitbucket.org port 22: No route to host
Now I tried
git push -u origin <mybranch>
Hangs forever again
Tried agian
ssh -v git@bitbucket.org
says:
OpenSSH_7.2p2 Ubuntu-4ubuntu2.8, OpenSSL 1.0.2g 1 Mar 2016
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to bitbucket.org [2406:da00:ff00::22c0:3470] port 22.
hangs again
Please help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hm, so DNS resolves the hostname, but then there's no route. Can you please try few things to help identifying the root cause:
altssh.bitbucket.org
over port 443, like this:ssh://git@altssh.bitbucket.org:443/<account_name>/<repo_name>
Let me know what you find out.
Cheers,
Daniil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How to resolve this issue in Cloud-bitbucket, can some please help ?
debug1: Connecting to bitbucket.org [18.205.93.2] port 22.
log:
ssh -vT git@bitbucket.org
OpenSSH_7.2p2 Ubuntu-4ubuntu2.8, OpenSSL 1.0.2g 1 Mar 2016
debug1: Reading configuration data /home/ubuntu/.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.xx.0] port 22.
debug1: connect to address 18.205.93.0 port 22: Connection timed out
debug1: Connecting to bitbucket.org [18.205.xx.2] port 22.
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.