<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Github on Arshad Siddiqui</title><link>https://arshadhs.github.io/categories/github/</link><description>Recent content in Github on Arshad Siddiqui</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 07 Nov 2018 21:45:00 +0000</lastBuildDate><atom:link href="https://arshadhs.github.io/categories/github/index.xml" rel="self" type="application/rss+xml"/><item><title>GitHub</title><link>https://arshadhs.github.io/docs/technology/sshkeygithub/</link><pubDate>Wed, 07 Nov 2018 21:45:00 +0000</pubDate><guid>https://arshadhs.github.io/docs/technology/sshkeygithub/</guid><description>&lt;h1 id="adding-a-ssh-key-to-github-account">
 Adding a SSH key to GitHub account
 
 &lt;a class="anchor" href="#adding-a-ssh-key-to-github-account">#&lt;/a>
 
&lt;/h1>
&lt;pre tabindex="0">&lt;code>ls -al ~/.ssh
&lt;/code>&lt;/pre>&lt;p>Generate a key&lt;/p>
&lt;pre tabindex="0">&lt;code>ssh-keygen -t rsa -b 4096 -C &amp;lt;user mail id&amp;gt;
eval $(ssh-agent -s)
ssh-add ~/.ssh/id_rsa
&lt;/code>&lt;/pre>&lt;p>Clip or copy manually&lt;/p>
&lt;pre tabindex="0">&lt;code>clip &amp;lt; ~/.ssh/id_rsa.pub
cat ~/.ssh/id_rsa.pub
&lt;/code>&lt;/pre>&lt;p>Go to GitHub, add the public key to settings -&lt;/p>
&lt;pre tabindex="0">&lt;code>https://github.com/settings/keys
&lt;/code>&lt;/pre>&lt;hr>
&lt;p>&lt;a href="https://arshadhs.github.io/">Home&lt;/a> | &lt;a href="https://arshadhs.github.io/docs/technology/">
 Technology
&lt;/a>&lt;/p></description></item></channel></rss>