Le 16/12/12 14:44, Leonard Wallentin wrote
Hello, here's from a Gerrit newbie: I get the following error message when
running 'git review' on some changes, after following the instructions at http://www.mediawiki.org/wiki/Git/Workflow#How_to_submit_a_patch line by line.I have previously submitted a change (once) without any errors. What could be wrong? Where do I start looking?
: 2012-12-16 14:33:21.901478 Running: git push gerrit HEAD:refs/publish/master/addrealname: Permission denied (publickey).: fatal: The remote end hung up unexpectedly I have coped the contents of ~/.ssh/id_rsa.pub to the SSH Public Keys tab of my settings at gerrit.wikimedia.org Thanks for any hints you may be able to give me!/Leo _______________Leonard Wallentinleo_wallentin@hotmail.com@leo_wallentin+46 (0) 735 - 933 543
Also make sure the git remote configured used your labs account name and make sure you have port 29418.
Also double check the ssh public key you have entered in Gerrit. To test it you can also:
ssh -p 29418 LABS_ACCOUNT@gerrit.wikimedia.org 'gerrit version'
Replacing LABS_ACCOUNT with your labs account name. That command should show you something like:
gerrit version 2.4.2-2-ge9a1970
Whatever was wrong, it worked after making a new clone of the extensions, and applying the changes again! /Leo