Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Port 22 is blocked and hang forever Edited

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. 

1 answer

0 votes

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.

Hm, so DNS resolves the hostname, but then there's no route. Can you please try few things to help identifying the root cause:

  • Can you access Bitbucket from the host Windows machine?
  • Can you access other websites from the VM?
  • Can you try using 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

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.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Calling any interview participants for Bitbucket Data Center

Hi everyone,  We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...

478 views 5 4
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