About ssh public key in gerrit 2.13.5

164 views
Skip to first unread message

Shang Ai Jun

unread,
Aug 7, 2017, 7:05:34 AM8/7/17
to Repo and Gerrit Discussion
Hi All,

Currently I updated gerrit 2.11 to gerrit 2.13.5 and all thing go well. But when I updated the ssh public key for someone ,i could not see it from gerrit database(I am using MySQL).Who know how to get ssh key value

Thanks in advance

BR

Edwin Kempin

unread,
Aug 7, 2017, 7:09:08 AM8/7/17
to Shang Ai Jun, Repo and Gerrit Discussion
On Mon, Aug 7, 2017 at 12:00 PM, Shang Ai Jun <shang...@gmail.com> wrote:
Hi All,

Currently I updated gerrit 2.11 to gerrit 2.13.5 and all thing go well. But when I updated the ssh public key for someone ,i could not see it from gerrit database(I am using MySQL).Who know how to get ssh key value
SSH keys were migrated to NoteDb.
Documentation for accounts in NoteDb is not submitted yet, but you can read about how SSH keys are stored in NoteDb in this open change:
 

Thanks in advance

BR

--
--
To unsubscribe, email repo-discuss+unsubscribe@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Shang Ai Jun

unread,
Aug 10, 2017, 5:22:27 AM8/10/17
to Repo and Gerrit Discussion
With the help of my colleague, here is the answer i need https://gitenterprise.me/2016/11/21/gerrit-user-data-in-git/

git clone ssh://$USER@$MY_GERRIT_HOST:29418/All-Users
cd All-Users
git fetch origin refs/users/$LAST_2_DIGITS_OF_USER_ID/$USER_ID:$USER_ID
git checkout $USER_ID

hope this will help others


在 2017年8月7日星期一 UTC+8下午7:05:34,Shang Ai Jun写道:
Reply all
Reply to author
Forward
0 new messages