Topic on Project:Support desk

WimiMedia Gerrit - Clone Repos -> Not permissions

4
Justman10000 (talkcontribs)

Hi, the error always appears

justman10000@gerrit.wikimedia.org: Permission denied (publickey). fatal: Could not read from remote repository.

Although I did everything the the tutorial says!

Bawolff (talkcontribs)

Most commonly this is caused by git using a different pubkey then the one you submitted to gerrit or if your wikitech shell name is different from your username and you use the wrong

If you do: GIT_SSH_COMMAND="ssh -vvv" git clone ssh://justman1000@gerrit.wikimedia.org:29418/mediawiki/core.git


It will give detailed info, which can help you figure out which key it is using.


If you absolutely cannot figure it out, you can use https instead ( git clone https://justman1000@gerrit.wikimedia.org:29418/mediawiki/core.git). However your password when using git over https is not your normal one but a diffferent one viewable in your gerrit preferences.

Justman10000 (talkcontribs)

Well, I created an SSH key via the Help tab in Git Gui and also registered it with Gerrit...

Malyacko (talkcontribs)

Please always include a full exact command that creates some output. This thread has no steps to reproduce. Thanks.

Reply to "WimiMedia Gerrit - Clone Repos -> Not permissions"