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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.