Re: Adding ssh keys via command line to automate it

2016-09-09 Thread staceytian4321
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"

Adding ssh keys via command line to automate it

2016-09-07 Thread staceytian4321
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

Re: Adding ssh keys via command line

2014-08-28 Thread Amalu Obinna
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

Re: Adding ssh keys via command line

2014-08-28 Thread Sytse Sijbrandij
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

Re: Adding ssh keys via command line

2014-08-28 Thread Amalu Obinna
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

Re: Adding ssh keys via command line

2014-08-28 Thread Sytse Sijbrandij
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

Re: Adding ssh keys via command line

2014-08-21 Thread Amalu Obinna
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

Adding ssh keys via command line

2014-08-21 Thread Amalu Obinna
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 ~]