Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
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

Can not clone repo via SSH because of SSH key password

I have an account which does not have any SSH key (as I see in personal settings) set. There are few repositories which I have access to. One of them I can clone via SSH but other one I can not. It always require ssh key password. 

In second repository I have a role admin. Dont understand how is it possbile if there is no key and how is it possible that I can clone other repositories without any passwords. 

Can somebody tell me what could be the problem? Thank you.

1 answer

1 accepted

0 votes
Answer accepted
Erez Maadani
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Mar 13, 2023

Hey @vladimir_camaj

Check your repo(s) access keys section, under Repository Settings -> Security -> Access Keys.

You might have ssh key installed which match the public keys in the Access keys.

As your computer can have multiple ssh keys, one might requires a passphrase which is why you see the request for ssh key password.  

There is no key. There is a button add key. 

But the same is in repository which I can clone. 

The error message says> 
The requested repository either does not exist or you do not have access. If you believe this repository exists and you have access, make sure you're authenticated.
fatal: Could not read from remote repository.

What it means "make sure you are authenticated"? 

Erez Maadani
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Mar 13, 2023

It means that if the repo exists and you have access to see it, your authentication has probably failed.

regarding your original issue, run the command

git remote -v

in both repos and see if in both repos, the remote urls use the ssh prefix.

Its little weird. I need to clone via https but need to join repository with correct account. The problem was wrong account. 

 

Thank you.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events