{"id":22776,"date":"2021-02-15T16:50:26","date_gmt":"2021-02-15T07:50:26","guid":{"rendered":"https:\/\/www.waca.associates\/en\/?p=22776"},"modified":"2021-02-15T20:33:57","modified_gmt":"2021-02-15T11:33:57","slug":"kit-how-to-connect-ssh-key-with-git-hub","status":"publish","type":"post","link":"https:\/\/www.waca.or.jp\/en\/growth-hacking-course\/kit-how-to-connect-ssh-key-with-git-hub\/","title":{"rendered":"[KIT] How to connect ssh key with GIT HUB"},"content":{"rendered":"<h4 class=\"wp-block-heading\">What is Git Hub ? <\/h4><p>GitHub is a hosting platform for developer to version control and collaboration that help developer working with team. And GitHub also the open-source for programmer to share their code to someone else with GitHub community and for new developer can idea any idea for them to start learning.<\/p><h4 class=\"wp-block-heading\">Why you should use an SSH key ? <\/h4><p>SSH Stand for <strong>Secure Shell<\/strong> and why you should use this because it make your work with GitHub faster than after. with SSH key you no need to type password again and again when you git push or pull <\/p><p>here is the guide about how to connect ssh with GitHub that make your process faster.<\/p><p>Step1: The First you need to open Terminal [ ctrl +T ] <\/p><p>Step 2: Generate a new SSH key by use command <strong>ssh-keygen -t rsa -b 4096 -C &#8220;Your-email@domain.name&#8221; <\/strong>and then press Enter to make default filename.<\/p><p>Step 3:  Install xclip on Ubuntu by using command<\/p><ul class=\"wp-block-list\"><li><strong>sudo apt-get update -y<\/strong><\/li><li><strong>sudo apt install xclip<\/strong>  Or <strong>sudo yum install xclip<\/strong><\/li><\/ul><p>Step 4: after finish you have to copy ssh with xclip by using command  <strong>xclip -sel clip &lt; ~\/.ssh\/id_rsa.pub<\/strong><\/p><p>When use this command it automatically copy  <\/p><p>Step 5: Go to Github.com <\/p><p>Step 6: after you go to Git hub and then go to <strong>Profile Picture  &gt; Setting &gt; SSH and GPG key<\/strong><\/p><p>Step 7: click <strong>New SSH key <\/strong>and paste by using <strong>ctrl + v<\/strong><\/p><p>Step 8: click Add SSH key and well done !!<\/p><p>and if you want to test connection with command <strong>ssh -T git@github.com<\/strong>. If connection is correct. you will see this message &#8220;Hi YourName! You&#8217;ve successfully authenticated, but GitHub does not provide shell access.&#8221; in your terminal. <\/p><p><\/p>","protected":false},"excerpt":{"rendered":"What is Git Hub ? GitHub is a hosting platform for developer to version control and collaboration that help developer working with team. And GitHub also the open-source for programmer to share their code to someone else with GitHub community and for new developer can idea any idea for them to start learning. Why you should use an SSH key ? SSH Stand for Secure Shell and why you should use this because it make your work with GitHub faster than after. with SSH key you no need to type password again and again when you git push or pull here is the guide about how to connect ssh with [&hellip;]","protected":false},"author":708,"featured_media":23020,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[175],"tags":[],"class_list":["post-22776","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-growth-hacking-course"],"jetpack_featured_media_url":"https:\/\/www.waca.or.jp\/en\/wp-content\/uploads\/2021\/02\/Screenshot-from-2021-02-15-14-48-26.png","_links":{"self":[{"href":"https:\/\/www.waca.or.jp\/en\/wp-json\/wp\/v2\/posts\/22776"}],"collection":[{"href":"https:\/\/www.waca.or.jp\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.waca.or.jp\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.waca.or.jp\/en\/wp-json\/wp\/v2\/users\/708"}],"replies":[{"embeddable":true,"href":"https:\/\/www.waca.or.jp\/en\/wp-json\/wp\/v2\/comments?post=22776"}],"version-history":[{"count":2,"href":"https:\/\/www.waca.or.jp\/en\/wp-json\/wp\/v2\/posts\/22776\/revisions"}],"predecessor-version":[{"id":23023,"href":"https:\/\/www.waca.or.jp\/en\/wp-json\/wp\/v2\/posts\/22776\/revisions\/23023"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.waca.or.jp\/en\/wp-json\/wp\/v2\/media\/23020"}],"wp:attachment":[{"href":"https:\/\/www.waca.or.jp\/en\/wp-json\/wp\/v2\/media?parent=22776"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.waca.or.jp\/en\/wp-json\/wp\/v2\/categories?post=22776"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.waca.or.jp\/en\/wp-json\/wp\/v2\/tags?post=22776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}