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".

What I do:
1) Rename my key into "id_rsa" and copy in ~/.ssh/
2) Create " id_rsa.pub" file in ~/.ssh/ and copy data with SSH Public Key 
web-interface when logged in as "psocprogrammer"
3) Execute "$ scp -p -P 29418 [email protected]:hooks/commit-msg 
.git/hooks" and press yes
4) Open "known_hosts" and see "openocd.zylin.com" was added with ssh-rsa server 
host key
5) Cyqwin ask me to enter password for key. I entered password three times and 
see massage permission denied. I typed correct password three times. Do present 
some limitation on symbols in password?

>> >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]

This message and any attachments may contain Cypress (or its subsidiaries) 
confidential information. If it has been received in error, please advise the 
sender and immediately delete this message.
------------------------------------------------------------------------------
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