Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

App Password not working when checkin to BitBucket via command line...

Ravi K I'm New Here Aug 17, 2022

Hello friends,

I am new to BitBucket and CI/CD as a platform. Set up a new BitBucket account, added SSH keys and also created the APP Password.

As a learning process, tried to clone a git repository to local machine (Linux Kernel 5.15) and use this code to checkin to Bitbucket and setup pipelines. This is my current status on the learning.

Repository with same name as folder name created on BitBucket.

On local linux machine, following commands were issued:

git add *

git commit -m "initial"

git remote set-url origin https://<username>:<apppassword>

git branch -v

git push

AFTER git push, it shows the following error:

remote: Bitbucket Cloud recently stopped supporting account passwords for Git authentication.
remote: See our community post for more details:
remote: App passwords are recommended for most use cases and can be created in your Personal settings:
fatal: Authentication failed for ''


WHATEVER I do, its the same error. APP Password creation does not seem to work.

The URL to include APP Password also does not seem to work.


Can you please help ?


1 answer

1 accepted

0 votes
Answer accepted

Hi @Ravi K ,

If you added SSH keys, why don't you use SSH remote URL? The remote URL looks like

Ravi K I'm New Here Aug 18, 2022

Thank you, Thuan_Do Dang. Your suggestion worked for me. 

Using the following syntax: 

git push<workspaceid>/<repository_name>.git

Like Thuan_ Do Dang likes this

Suggest an answer

Log in or Sign up to answer
Site Admin

Atlassian Community Events