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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Cannot authenticate via HTTP or SSH with managed account


I have a managed account (via Outlook) with which I am able to log in to bitbucket in my browser. I have created a repository but when I try to clone it, my password is not accepted: `fatal: Authentication failed for '`

I have added an SSH key to my account and that doesn't work either:
` Permission denied (publickey).`
(Note that the same key does work for

The only way I've got it to work was to create an App Password, but that is not an acceptable solution. I need to be able to authenticate via SSH.

This problem might be related to the following question, although SSH was not mentioned there:

My question:
How can I get SSH authentication to work with my managed outlook account?

1 answer

1 accepted

0 votes
Answer accepted

Hi @Quinten De Vos and welcome to the community!

If you use HTTPS, the account's password will not work for a managed account, and you will indeed need to use an app-password instead.

Since you want to use SSH, we can look into why this is not working for you.

Could you please share the verbose output of the following command from the machine where you set up SSH?

ssh -Tvvv

This will show us verbose output and an indication of what may be going wrong.

Kind regards,

Hello Theodora,

I've run that command and the output can be found here:
I have two ssh keys in my .ssh directory, which I would both expect to work as I have added them in the browser. (See screenshot) These are the keys that are shown in the logs on line 133 and 135 ("Offering public key: ")

Screenshot from 2021-01-08 16-41-00.png
(Offering public key:

Hi @Quinten De Vos ,

Thank you for your reply and the output.

Looking at the verbose output, the line that indicates the issue is the following:

debug1: send_pubkey_test: no mutual signature algorithm

after the public key id_rsa is offered.

Are you using Fedora 33?

The same issue is reported by other users who upgraded to Fedora 33 as this version has some changes in OpenSSH connections.

To work around this, you can create a config file in the .ssh folder and add the following:

PubkeyAcceptedKeyTypes +rsa-sha2-256,rsa-sha2-512

Another option would be to generate a new SSH key pair with encryption algorithm Ed25519 or ECDSA and use that instead.
The algorithm is specified with the -t option, so you can use e.g. the following command to generate the SSH key pair

ssh-keygen -t ecdsa

Please feel free to let me know how it goes and if you need further assistance.

Kind regards,

Hi Theodora,

Yes, that was exactly the problem. I am indeed running Fedora 33.
Thank you for your quick response!

Kind regards,

Like Theodora Boudale likes this

Good to hear, I'm glad that it is resolved!

Suggest an answer

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

Contest: Share your custom Bitbucket Pipe and win

Announced in this blog, this holiday season we’re celebrating all things CI/CD and between now and the end of 2019 we’ll be showcasing content, use cases, feature announcements and more. One featur...

2,140 views 11 6
Join discussion

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