Page MenuHomePhabricator
Paste P12977

Error When Adding SSH Private Key to Use with Git
ActivePublic

Authored by BlessingDickson on Oct 13 2020, 3:56 PM.
TASK:
Connect to the Gerrit server via ssh to check if everything works as expected. Replace gerrituser by your username as shown in your Gerrit settings:
ssh -p 29418 gerrituser@gerrit.wikimedia.org
OUTPUT:
ssh -p 29418 blessingdickson@gerrit.wikimedia.org
blessingdickson@gerrit.wikimedia.org: Permission denied (publickey).

Event Timeline

Hi @BlessingDickson you have created a text file, you should instead create a task.

Head to:

https://phabricator.wikimedia.org/maniphest/task/edit/form/1/

Set a Title and the Description and add Gerrit as a tag.

Umm, before creating task, I would like to ask something.

@BlessingDickson Have you added public ssh key on Gerrit in settings?

@Vidhi-Mody
Yes, I have carefully followed all the steps but I keep getting the message "Permission denied (public key)" when I try to add SSH private key to use with Git. Thanks!!!

@Kizule
Yes, I have added public SSH key on Gerrit settings. I'm having issues when I try to add SSH private key to use with Git.