The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Cloning from terminal - Invalid password on Ubuntu

Haris Berbic
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 11, 2019

Hi, I have a problem cloning repository on Ubuntu from Terminal. The reason is error:  remote: Invalid username or password.

I am Using Ubuntu 18.04.3, and I wand to use Terminal or IDE for pull/push.

Is this possible?

I've done following to solve the issue, but it didn't help:

- reset password on gmail
- upgrade git to 2.24.0

Thank you in advance for answers.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Daniil Penkin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 11, 2019

Hello @Haris Berbic,

Welcome to the Community!

When you use Google to log into Bitbucket, you can't use your Google credentials to clone/push to repositories. You have two options here:

  • set up an SSH key and use SSH transport for Git. The clone URL suggested by Bitbucket will default to SSH transport as soon as you register a key with Bitbucket (you can always select the HTTPS version in the dropdown).
  • create an app password and use it with HTTPS transport.

Hope this helps. Let me know if you have any questions.

Cheers,
Daniil

TAGS
AUG Leaders

Atlassian Community Events