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,553,090
Community Members
 
Community Events
184
Community Groups

Added SSH key but still ask for password

Edited

Hey,

 

I have added the ssh successfully as per the instructions and got this message 

ssh -T myusernane@bitbucket.org
logged in as myusername.

You can use git or hg to connect to Bitbucket. Shell access is disabled.




But when I use the git pull command, still asks me for a password.
How to solve this problem?


1 answer

3 votes
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 07, 2019 • edited

Hi Moby,

Welcome to the Atlassian Community.

Did you also change the remote URL for your repository to use SSH instead of HTTP/HTTPS?

You can use the command git remote set-url to change it.

Thanks for answer  but I'm not sure which url to set? 

Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 09, 2019

You can check the URL used for your repository by running git remote -v, this will list the remote URLs:

$ git remote -v
Bitbucket.org https://username@bitbucket.org/username/repository.git (fetch)
Bitbucket.org https://username@bitbucket.org/username/repository.git (push)

If the URL looks like in the above example then you are not using SSH. Also note that if you have a passphrase for your SSH Key, you will be asked to enter that every time.

Like # people like this

great! this really helped! <3

For someone who is still looking for a solution, this is how you set the remote URL with ssh

git remote set-url origin git@bitbucket.org:<repo_name>/<repo_name>.git
Like Fernando Fernandez likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events