When I try to clone a repo using SSH from my Bitbucket Server I get the following error:
Command: git -c diff.mnemonicprefix=false -c core.quotepath=false ls-remote ssh://firstname.lastname@example.org:7999/dt/xxxxxxxx.git
Error: FATAL ERROR: Network error: Connection refused
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Please note, when I clone via HTTP it works just fine. Any ideas or suggestions?
Can you confirm that you have access to the repository and the Bitbucket Server instance?
I see that you are able to clone via HTTP, are there any record of the request in the access logs when performing the request via ssh?
Are any other commands via ssh available? Is the 7999 port reachable from the workstation (http calls are on port 7990 by default)?
Could you try to remove and add back the access key or create a new one?
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
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