Hi
I tried to use the command below to clone a repository to an Ubuntu 18.04 machine
git clone https://changwenx@bitbucket.org/keelerglobal/ion-build.git
It failed as below:
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://changwenx@bitbucket.org/keelerglobal/ion-build.git/'
How can I sort out this issue?
Thanks
Hi @changwenx,
Thank you for reaching out to the community.
Would it be possible for you to confirm if you're already using an App password when you tried cloning?
If not yet, could you try generating an App password and use it as your password credential when you clone?
If you're already using an App password, could you try clearing your Git credentials related to Bitbucket Cloud and try to clone again?
Hope it helps and let me know how it goes.
Regards,
Mark C
Hi Mark C,
I am using APP password in other computers. It works fine.
The case is that I need to clone a bitbucket repository to a headless Ubuntu 18.04 where no git app installed.
What I have done at this moment after failed to clone, I downloaded the repository from my computer and transferred to the headless device. It works but I thought it is better to clone the repository.
It seems clone a bitbucket repository from command line (without app) is NOT working anymore?
Kind regards,
Changwen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @changwenx
I do believe the Git application is required for you to clone a repository in any OS environment.
Btw, would it be possible for you to confirm if you're referring to the App password generated from your Bitbucket Cloud account?
Regards,
Mark C
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.