Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Permission denied (publickey)

sanderdijkstra August 28, 2017

Hi guys,

 

Yesterday I was working on one of my projects in the afternoon. I pushed everything succesfully, when I wanted to continue in the evening I certainly wasn't able to get into the project anymore.

 

When I'm logged in on Bitbucket I have writing access for all the projects, but I can't write nor download anymore.

 

When I want to push a commit or load a new rep I get the following errors;

This is not a valid source path/ URL

 

And also this error log

Permission denied (publickey).

fatal: Could not read from remote repository.


Please make sure you have the correct access rights

and the repository exists.

Permission denied (publickey).

fatal: Could not read from remote repository.


Please make sure you have the correct access rights

and the repository exists.

Permission denied (publickey).

fatal: Could not read from remote repository.


Please make sure you have the correct access rights

and the repository exists.

Permission denied (publickey).

fatal: Could not read from remote repository.


Please make sure you have the correct access rights

and the repository exists.

Does anybody know how to fix this? I already reinstalled Sourcetree and tried to reset it but it didn't work and to get a new publickey (which didn't work).

2 answers

Gary
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 29, 2017

Hey Tim, Sander,

That issue is very specific to Pipelines, and was caused by an issue on the platform.

Cheers,
Gary

0 votes
Gary
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 28, 2017

Hi Sander,

Can you run the following from your terminal, and let us know if your SSH key is loaded:

 

ssh-add -l

Cheers,
Gary

sanderdijkstra August 29, 2017

Hi Gary,

 

The result I got is; The agent has no identities.

So I suppose the SSH Key isn't properly loaded, how can I fix that?

 

Cheers Sander

Gary
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 29, 2017

Hi Sander,

I usually load my key from the terminal using:

ssh-add .ssh/"ssh_key_file"

Cheers,
Gary

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events