Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

SSH not working

I have configured SSH but still, it's giving me an error ` Permission denied (publickey).`


I don't know what to do

Please help

1 answer

0 votes

Hello @Alex Anthony,

I can see your question is tagged with Bitbucket Cloud, but I believe you're trying to configure SSH with Bitbucket Server – can you confirm this?

The most likely cause is that you haven't registered correct key in your Bitbucket account. You can get verbose log of the connection attempt by adding -vvv options to your ssh command, like this:

ssh -vvv

Another possible problem might be that your Bitbucket instance is not hosted directly at, or its ssh is running on a different port, and you're hitting another server or service.

Please double check your connection parameters and then check out the verbose log of the SSH connection attempt.

I hope this will shed some light on what's going on.


Suggest an answer

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

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,880 views 0 7
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