Git clone using SSH always require password

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible


A user creates a test repo, with public key and SSH enabled, but

$ git clone git@
Cloning into 'repo1'...
git@'s password:


A password authentication is required and cloning is not possible.


The address the user is trying to clone is different to what the application expects.


As written on Enabling SSH access to Git repositories in Bitbucket Server, the SSH URL should be similar to:



The correct SSH URL that you should be using for a git clone operation should be available through the Bitbucket server UI when you browse through the repo, click on ... and then Clone:


If you are doing that correctly, please review Set up SSH for Git.

Last modified on Nov 2, 2018

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.