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 [email protected]@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. My labs account is 'hashar', hence my remote is configured this way: $ git remote -v gerrit ssh://[email protected]:29418/mediawiki/core.git (fetch) gerrit ssh://[email protected]:29418/mediawiki/core.git (push) To change the URL: git remote set-url gerrit ssh://... Also double check the ssh public key you have entered in Gerrit. To test it you can also: ssh -p 29418 [email protected] 'gerrit version' Replacing LABS_ACCOUNT with your labs account name. That command should show you something like: gerrit version 2.4.2-2-ge9a1970 -- Antoine "hashar" Musso _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
