Part 6 – Adding SSH Key to GitHub [Git-ing Started with Git Series]



Do you hate typing in your username and password for GitHub everytime you make a push? Well that ends today because we are going to learn to generate an SSH key for our computer and to attach it to our GitHub account.

You can get all the code snippets here:

Coming Up:
We clone (copy) and fork projects from github to our computer.

— MORE FROM THIS SERIES —

Previous Video [Part 5]:
Next video [Part 7]: Coming Soon

Full Playlist for the “Git-ing Started with Git” Series:

— DEVMARKETER INSIDER —

Subscribe to DevMarketer Insider – A weekly (once a week) email newsletter to fans that want to know everything that is happening with DevMarketer, including announcements and articles not published on this channel. No spam ever, I promise, unsubscribe anytime.

— FOLLOW ME —

Subscribe for New Releases!

Subscribe to DevMarketer Insider

Twitter –
(ask me questions!)

— QUESTIONS? —

Leave a comment below and I or someone else can help you.
For quick questions you may also want to ask me on Twitter, I respond almost immediately.

Email me hello@jacurtis.com

Thanks for all your support!

Tags: Git basics and learning git tutorial. Best tutorial git easiest tutorial git. Git on Mac, Linux, Windows. Tutorials with Alex, devmarketer

Nguồn:https://hdwallpaperslovely.com/

Related Posts

Adobe Illustrator CC 2019 for Beginners | Getting Started Tutorial | Episode 1

March 9, 2020

March 9, 2020 36

Free tutorial: Illustrator basics for beginners. Latest adobe illustrator CC 2019. Lesson 1 Free Lesson for Beginners in Illustator. Can’t...

How to clone your hard drive to a Kingston SSD for Desktop and Notebook PCs with Acronis True Image

May 25, 2020

May 25, 2020 47

This is the process for cloning a drive using the Acronis True Image software included in our Kingston SSD Bundle...

Adobe acrobat DC 2020 full version

March 8, 2020

March 8, 2020 13

Download from Here – Link 1- Download update file only – Nguồn:https://hdwallpaperslovely.com/

KTM Special Service Tool V2.1 New software for ADB FASTBOOT EDL Mode

February 19, 2020

February 19, 2020 1

KTM Special Service Tool V2.1 New software for ADB FASTBOOT EDL Mode Download Link: ******************************************** ******************************************** for New Video Share...

Photoshop CC 2019 Có Gì Hay? – Bài 1: Content Aware Fill là gì?

April 14, 2020

April 14, 2020 18

Ờ các phiên bản trước, Photoshop có một công cụ là Fill. Sau khi chọn vùng chọn, người dùng click...

How to Enter / Quit Fastboot & Rescue Mode in HUAWEI P9

March 5, 2020

March 5, 2020 32

How to enter Fastboot & Rescue Mode in HUAWEI P9? How to quit the Fastboot & Rescue Mode in HUAWEI...

Hướng dẫn mua hàng trên Tiki bằng điện thoại mới nhất 2020 – Hoàng Hải Review

March 2, 2020

March 2, 2020 18

Hướng dẫn mua hàng trên Tiki bằng điện thoại mới nhất 2020 – Hoàng Hải Review – Linh hướng dẫn...

How To Bypass A Router (Port Forwarding)

March 18, 2020

March 18, 2020 43

📗LIMITED TIME!!! GET MY NEW BOOK FOR $1!📕 This video will show you how to bypass a router when trying...

how to activate adobe acrobat pro 11

March 23, 2020

March 23, 2020 2

Learn Computer by Yourself, Improve Your Self.សូមស្វែងរកមេរៀនវគ្គកុំព្យូទ័រផ្សេងៗទៀតនៅទីនេះ! E-mail: sarathrith@gmail.com Tel: 087 255 269, 012 35 80 93 Nguồn:https://hdwallpaperslovely.com/

Adobe Dreamweaver CC 2019 | Overview

March 11, 2020

March 11, 2020 3

An introduction to the Adobe Dreamweaver CC 2019 Interface from Professor Terry O’Daly | The Web Design Survival Guide. Nguồn:https://hdwallpaperslovely.com/

How to Test Android Deep Links Using ADB – Android Deep Linking Tutorial

April 19, 2020

April 19, 2020 4

In this Android deep linking tutorial, you’ll learn how to test Android deep links using ADB. We’ll walk through how...

Samsung J260G Frp Removed in ADB Mode by Miracle Thunder

March 2, 2020

March 2, 2020

Samsung J260G Frp Removed in ADB Mode by Miracle Thunder Hi Welcome to our youtube channel Mobile Repair Trick. About...

ADATA SU750 SSD Unboxing, Installation, Cloning, and Bench marking

February 1, 2020

February 1, 2020 4

I unbox my brand-new ADATA SU750 1TB SSD and install it in an old, slow desktop PC in an attempt...

Style Portraits Vector Adobe Illustrator cc 2019

April 17, 2020

April 17, 2020 14

source: All About Illustrator : How To Create Wood Text Effect in Adobe Illustrator ► Logo Inspiration | Creating Simple...

Hướng dẫn cài đặt Illutrator CC 2017 FULL CRACK mới nhất _ 2018

May 21, 2020

May 21, 2020 1

Script hướng dẫn cài đặt: **************************************************** xin chào mọi người Hôm nay mình sẽ giới thiệu cho các bạn cách...

Comments
  • I changed my password on github and the auth with ssh doesnt work anymore, what should I do add a new key and delete the old one or update the new one? If so can you link me how to do so I have trouble finding that info, thanks!

  • I don't understand, I've never created any ssh key, yet I can commit, clone and push projects into my gitlab without having to enter any password.
    I tried editing and pushing a random projects as I found this behaviour weird, but obviously it didn't let me push the project (cause it is not my project)
    Is there any way I could have linked my gitlab account to my local git without realising it? x)

  • First of all, thank you for telling us the subject in detail, explanatory, beautiful and understandable language. I would like to point out that I benefited a lot as a Windows user. However, I had to investigate some points in several places. Therefore, I have written all the necessary steps for the convenience of other Windows users one by one in this comment.

    Windows users can follow these steps via Git Bash:
    1- $ ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
    2- $ eval "$(ssh-agent -s)"
    3- $ ssh-add ~/.ssh/id_rsa
    4- $ cat .ssh/id_rsa.pub
    5- $ ssh -T git@github.com
    6- $ git remote set-url origin git@github.com:username/your-repository.git
    7- Then make changes to any file in the repository. Afterwards follow the add and commit steps, respectively.
    8- $ git push –force origin
    **No need to add dollar symbols. It's already at the beginning of the line in Git Bash. I wrote them to avoid confusion.**

    Have an Octotastic Day! (:

  • Still the same "> Permission denied (publickey)." Went over this tutorial many times and checked for errors on my part. Did definetly not help.

  • good day ! Te random art is actually the key sir (or one of them) I'm new to this stuff (studying in school) and they talk a lot of theory and I'm testing a lot of these things on my own to learn I feel so overwhelmed. But there is a rsa key generator program you can download that shows you all the different types of keys and what they look like and I think sha 256 is like near impossible to crack. By no means can I prove this and this was like the last thing i read a while back. There is no telling how long that information is still valid. If anyone knows more please correct me. I want to know all that i can. When i first learned about the tcp handshake and (this is what I am trying to understand in depth) There were a lot of things about different Key generations that I had questions about.

  • So helpful man, thanks! I have a question, what if I have 2 github accounts, e.g enterprise and personal. Could my pc has two ssh keys stored?

  • Mine is still asking me for my username and password. Every command seemed to work fine… Any suggestions on where should I look at? Thanks in advance!

    PS: I reopen the terminal before cloning the repository I want (I ended up typing the username and password).

  • https clones will always ask for login. I had to clone my repo again using ssh after adding the key to github before I was allowed to push without credentials. I believe this issue is resolved in this guide https://help.github.com/en/articles/changing-a-remotes-url#switching-remote-urls-from-https-to-ssh
    Although I didn't see this before cloning a fresh copy of my repo.

  • $ eval $"(ssh-agent -s)"

    3 [main] ssh-agent 4860 child_info_fork::abort: C:Program FilesGitusrbinmsys-crypto-1.0.0.dll: Loaded to different address: parent(0x860000) != child(0x840000)

    fork: Resource temporarily unavailable

    what does it mean?

  • i had to set up a config file to make this work. I think you forgot to cover that.
    ~/.ssh/config
    User git
    Hostname github.com
    PreferredAuthentications publickey
    IdentityFile ~/.ssh/id_rsa

Leave a Reply

Your email address will not be published. Required fields are marked *