I'm self-hosting Bitbucket Server and several other Atlassian tools on an Ubuntu VM. I'm using Apache as a reverse proxy as outlined in Atlassian documentation. Everything's running fine except for Bitbucket's SSH. I've enabled SSH in the settings and configured a repository with an access key. I've opened port 7999 in my Azure firewall.
I understand Bitbucket runs a separate Apache process on port 7999 for SSH. This is confirmed by checking with netstat. My Apache reverse proxy is not configured to handle 7999 in any way.
When attempting to connect to Bitbucket with
the operation times out. Similarly, trying to clone the repo I have configured with an SSH access key with
git fetch ssh://firstname.lastname@example.org:7999/project/project.git
ssh: connect to host bitbucket.organisation.com port 7999: Connection timed out
Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs