Login to the gitlab server, and look in ~git/.ssh/authorized_keys

As long as the user didn't strip the comment at the end of the key, when they 
pasted into the 'Key' field of the web interface, you should be able to find it 
there.

Otherwise, you will have to use the string "key-1" or "key-2" etc in the 
authorized_keys file, and lookup the user via the key ID. 
http://docs.gitlab.com/ce/api/keys.html



From: gitlabhq@googlegroups.com [mailto:gitlabhq@googlegroups.com] On Behalf Of 
Ashwini
Sent: Monday, August 29, 2016 2:56 AM
To: GitLab <gitlabhq@googlegroups.com>
Subject: To find SSH key is bind to which account?

Hi,

Could some one share any way to find out which account is using the same 
SSH-key in GitLab

Regards
Ashwini
--
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
gitlabhq+unsubscr...@googlegroups.com<mailto:gitlabhq+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/5e323cb4-5567-4905-bfce-0678e5e01de4%40googlegroups.com<https://groups.google.com/d/msgid/gitlabhq/5e323cb4-5567-4905-bfce-0678e5e01de4%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/BY1PR0401MB1255198705B70147975BD041CBE00%40BY1PR0401MB1255.namprd04.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to