On Wed, Feb 15, 2017 at 10:47:36AM +0000, Mykhaylo Lyubun wrote:
> >The only real error here is: $ scp -p -P 29418
> >[email protected]:hooks/commit-msg .git/hooks/
> >Permission denied (publickey).  Is your username on Gerrit
> >"psocprogrammer"? Are you sure you've added the public key
> >corresponding to the private key that scp is using by default?
>
>  psocprogrammer is user on openocd.zylin.com site. SSH public keys
>  is added same as SSH public key for git repository. How I can set
>  key to scp command?

scp uses ~/.ssh/id_rsa private key by default. I have no idea what you
mean by "SSH public key for git repository". You're supposed to add
the contents of your ~/.ssh/id_rsa.pub file via the web-interface when
logged in as "psocprogrammer".

> >The fingerprint messages you cited are related to Gerrit's host ssh key, not 
> >to your own key, you should have said "yes" the first time it asked.
> >If checkpatch is showing any errors, you should correct and amend the commit 
> >before pushing it for review.
>  I press yes but respond is same

No, it stopped asking you about that fingerprint after the first yes
response.

> >And I haven't spotted any attempt to push anything for review in your log.
>
> Could you send me examples how to push anything for review?

When I'm at a branch I want to push for review, I do this:

git log
git show HEAD
# to make sure I'm really going to push what I think should go there
tools/checkpatch.sh
# here if any errors are present I fix them by amending the commits
git push review

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:[email protected]

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to