Thanks alot. Will use this. Way better. On Aug 28, 2014 10:20 AM, "Sytse Sijbrandij" <sy...@gitlab.com> 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 <amaluobi...@gmail.com> > 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, 2014 9:04 AM, "Sytse Sijbrandij" <sy...@gitlab.com> wrote: > >> > >> You need to add the key via the GitLab UI > >> > >> On Thu, Aug 21, 2014 at 7:46 PM, Amalu Obinna <amaluobi...@gmail.com> > >> wrote: > >> > I added the key using ./bin/gitlab-key add-key key-## "<ssh-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 fails. > >> >> > >> >> [user@myhost ~]$ ssh git@<git-server> > >> >> Welcome to GitLab, Anonymous! > >> >> Connection to <git-server> closed. > >> >> [user@myhost ~]$ > >> >> > >> >> > >> >> > >> >> [user@myhost ~]$ git clone git@<git-server>:repo.git > >> >> Cloning into 'repo-folder'... > >> >> Access denied. > >> >> fatal: Could not read from remote repository. > >> >> > >> >> Please make sure you have the correct access rights > >> >> and the repository exists. > >> >> > >> >> > >> >> > >> > -- > >> > 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/c6e19f3d-11b2-4e22-ae60-fb40c94b9a7d%40googlegroups.com > . > >> > > >> > For more options, visit https://groups.google.com/d/optout. > >> > >> -- > >> You received this message because you are subscribed to a topic in the > >> Google Groups "GitLab" group. > >> To unsubscribe from this topic, visit > >> https://groups.google.com/d/topic/gitlabhq/D2ES9aaUWM8/unsubscribe. > >> To unsubscribe from this group and all its topics, send an email to > >> gitlabhq+unsubscr...@googlegroups.com. > >> To view this discussion on the web visit > >> > https://groups.google.com/d/msgid/gitlabhq/CAEG31mOnoO4sCP4sUBpxjMiF7OiyA8ozk%2B2_zdGF92%3DfPthQsQ%40mail.gmail.com > . > >> > >> 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/CAMmT7NpUVr3RqOeG9sQuK_oDXv-wkj-94zb97t-7g5p-8YQY3g%40mail.gmail.com > . > > > > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to a topic in the > Google Groups "GitLab" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/gitlabhq/D2ES9aaUWM8/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > gitlabhq+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/gitlabhq/CAEG31mOb9HsDb%2B%2BTzvPn77Axv_i1Gu_jveekpyJNz%3Drwvgx5WQ%40mail.gmail.com > . > 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/CAMmT7NokQ5f8Gpt95F1Y%2BfTDW%3DSAj7CmvDfkbToNkoQCLW5mww%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.