I am getting following authentication failed error while cloning repo from bit bucket.
$ git clone https://sharpriy@bitbucket.org/humense-team/k2ls.git
Cloning into 'k2ls'...
Password for 'https://sharpriy@bitbucket.org':
remote: Invalid username or password. If you log in via a third party service you must ensure you have an account password set in your account profile.
fatal: Authentication failed for 'https://sharpriy@bitbucket.org/humense-team/k2ls.git/'
I have given gmail password for authentication since i use to login to atlassian account using 'log in with gmail' option.
I have also added SSH key to bit bucket account and configured username and email address using following commands
git config --global user.name <username>
git config --global user.email <email address>
Please help me to resolve this issue
Hi Priya,
For SSH try using
git clone git@bitbucket.org/humense-team/k2ls.git
For username and password the error shows
If you log in via a third party service you must ensure you have an account password set in your account profile.
That command needs one small formatting fix:
git clone git@bitbucket.org:humense-team/k2ls.git
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks James!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.
Register today!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.