Re: ssh key
- From
- Konstantin Khomoutov <kostix+git@007spb.ru>
- Date
- May 30, 2016, 11:11 UTC
- Message-ID
- <20160530141115.a6692c0e50abc2a2d2f85190@domain007.com>
- In-Reply-To
- <5c45dd8c03d2a9e0079796ce6850af9f@jinr.ru>
On Sat, 28 May 2016 16:47:06 +0300 matveevma <matveevma@jinr.ru> wrote:
> Can i add SSH id_rsa.pub to GIT by shell terminal?
Hi!
First things first: this list has nothing to do neither with Github nor with shells of any sort. Please note that Github it not Git, it rather is a hosting for Git projects, so if you have a Github-specific question please direct it to Github support channels [2, 3], thanks.
As to the essence of your question, it appears that Github has a rich RESTful API, so you should be able to register your SSH key using `curl` or a similar tool using Github webAPI calls described in [1].
1. https://developer.github.com/v3/repos/keys/ 2. https://help.github.com/ 3. https://github.com/contact