Forums

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

SSH connection failure

erkin_251 December 24, 2023

I have never faced any problems in the last 7+ years with bitbucket until 5 days ago, that I could not push/pull anymore over ssh.

I tried updating my ssh keys but it did not help.

I can use bitbucket over https [1] but I can't reach over ssh [2].

Any suggestions?

[1] git clone https://bitbucket.org/mirror/git.git
Cloning into 'git'...
remote: Enumerating objects: 280584, done.
remote: Counting objects: 100% (58138/58138), done.
remote: Compressing objects: 100% (9114/9114), done.
remote: Total 280584 (delta 52851), reused 52474 (delta 48975), pack-reused 222446
Receiving objects: 100% (280584/280584), 82.02 MiB | 9.61 MiB/s, done.
Resolving deltas: 100% (211958/211958), done.

[2] ssh -T git@bitbucket.org   "ssh: connect to host bitbucket.org port 22: Network is unreachable"

1 answer

1 accepted

1 vote
Answer accepted
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 1, 2024

G'day, @erkin_251 

Welcome to the community!

The error message you've received indicates that there may be a problem with your local network. It's possible that port 22 is being blocked or your firewall settings have been altered to block Bitbucket's SSH connection unintentionally.

We have a comprehensive Knowledge Base article that I recommend you look into. This article provides suggested solutions that may resolve your issue. Please check it out and try implementing the proposed solutions to see if they rectify your problem.

Cloning from Bitbucket cloud via SSH Fails with "Port 22: Network is Unreachable." 

Regards,
Syahrul

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, team '25 europe, atlassian event, barcelona 2025, jira, confluence, atlassian intelligence, rovo, ai-powered collaboration, developer tools, agile teams, digital transformation, teamwork solutions, atlassian conference, product announcements

🌆 Team '25 Europe registration is now open!

Join the largest European gathering of the Atlassian Community and reimagine what’s possible when great teams and transformative technology come together. Plus, grab your Super Fan ticket now and save over €1,000 on your pass before prices rise on 3 June.

Register now
AUG Leaders

Atlassian Community Events