Hi,
I have figured it out:
http://stackoverflow.com/questions/32332045/gitlab-api-add-ssh-key
http://unix.stackexchange.com/questions/136894/command-line-method-or-programmatically-add-ssh-key-to-github-com-user-account
# curl -k -X POST -F "private_token=gfr45ffddfdfdx" -F "title=TestKey1"
Hi,
I am using gitlab-ce-8.9.5-ce.0.el6.x86_64.rpm.
I am trying to add ssh keys to my gitlab server via command line and I am
having issues.
I know how to add the key via the GitLab UI, but I am trying to automate
it. For example, I have to add about 100 ssh keys. I don't want to have to
do
Thanks alot. Will use this. Way better.
On Aug 28, 2014 10:20 AM, "Sytse Sijbrandij" wrote:
> See Add SSH key for user in http://doc.gitlab.com/ce/api/users.html
>
> On Thu, Aug 28, 2014 at 3:05 PM, Amalu Obinna
> wrote:
> > Thanks. I know that part works well. I am trying to automate it. Where
See Add SSH key for user in http://doc.gitlab.com/ce/api/users.html
On Thu, Aug 28, 2014 at 3:05 PM, Amalu Obinna wrote:
> Thanks. I know that part works well. I am trying to automate it. Where I
> have to add about 100 plus server keys. I don't want to have to do it
> manually.
>
> On Aug 28, 20
Thanks. I know that part works well. I am trying to automate it. Where I
have to add about 100 plus server keys. I don't want to have to do it
manually.
On Aug 28, 2014 9:04 AM, "Sytse Sijbrandij" wrote:
> You need to add the key via the GitLab UI
>
> On Thu, Aug 21, 2014 at 7:46 PM, Amalu Obinna
You need to add the key via the GitLab UI
On Thu, Aug 21, 2014 at 7:46 PM, Amalu Obinna wrote:
> I added the key using ./bin/gitlab-key add-key key-## ""
>
>
> On Thursday, 21 August 2014 13:44:31 UTC-4, Amalu Obinna wrote:
>>
>> I am trying to add ssh keys to my gitlab server via command line an
I added the key using ./bin/gitlab-key add-key key-## ""
On Thursday, 21 August 2014 13:44:31 UTC-4, Amalu Obinna wrote:
>
> I am trying to add ssh keys to my gitlab server via command line and I am
> having issues. when I try to do ssh to the gitlab server, I can get to it,
> but a git clone f
I am trying to add ssh keys to my gitlab server via command line and I am
having issues. when I try to do ssh to the gitlab server, I can get to it,
but a git clone fails.
[user@myhost ~]$ ssh git@
Welcome to GitLab, Anonymous!
Connection to closed.
[user@myhost ~]