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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,555,551
Community Members
 
Community Events
184
Community Groups

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

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>@bitbucket.org/skillshare-mastering-pipelines.git

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: https://atlassian.community/t5/x/x/ba-p/1948231
remote: App passwords are recommended for most use cases and can be created in your Personal settings:
remote: https://bitbucket.org/account/settings/app-passwords/
fatal: Authentication failed for 'https://bitbucket.org/skillshare-mastering-pipelines.git/'

 

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
Thuan_ Do Dang
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Aug 17, 2022

Hi @Ravi K ,

If you added SSH keys, why don't you use SSH remote URL? The remote URL looks like git@bitbucket.org:your_space/skillshare-mastering-pipelines.git

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

Using the following syntax: 

git push git@bitbucket.org:<workspaceid>/<repository_name>.git

Like Thuan_ Do Dang likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events