Forums

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

SSH Permission denied (publickey)

Wesley Stevens
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!
July 10, 2019

I'm trying to set up SSH in bitbucket. I followed the tutorial and troubleshooted it, but am stumped. I get my SHA256 code when I write ssh-add -l, I have my SSH key set up when I go to Account Settings -> SSH keys, and I'm not in sudo. When I do 

ssh -T git@bitbucket.org

It returns git@bitbucket.org: Permission denied (publickey).

How do I fix this?

1 answer

1 accepted

0 votes
Answer accepted
Wesley Stevens
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!
July 10, 2019

An id_rsa file was created in the directory I was in, but the key that Bitbucket is looking for is under C:/Users/<username>/.ssh

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events