How to setup SSH for GitHub repository

preview_player
Показать описание


Here are a few quick links to get in touch:

Useful YouTube playlists for you:

▶️API TEST Automation:

Change your carrier and become an IT professional with us.

✔️Follow us on Instagram :
✔️ Get a free consultation or sign up for a course, questions about the course -

#github #git #ssh
Рекомендации по теме
Комментарии
Автор

Your explanation of how to install SSH into GitHub was very helpful. What a great teacher you are.

LuisCervantes-dulv
Автор

It's amazing how this still didn't work after multiple videos. Thanks for the great work, keep it up!

mochi
Автор

The error show while adding,

clip < ~/.ssh/id_ed25519.pub
At line:1 char:6
+ clip < ~/.ssh/id_ed25519.pub
+ ~
The '<' operator is reserved for future use.

mohammad_integry
Автор

This is fair enough for local usage.
Thank you for the directions.
Now if I got there, it is because I am following a training. I am given a VM on which I could do my work so that the instructor could see what I do. The thing is I prefer working locally, then push.
But I am concerned with security and I want no one to mess with my repos/account when the machine is unattended. So I need a passphrase.
I found a simpler way on Windows. It involves generating the key from GIT Gui utility. In one click the key is generated.
Generating from CLI did not recognize the existence of any key. I don't know if it looks for a specific name or what but at least it works when GIT Gui generates the key.
When I clone using SSH it will ask for the passphrase every time I push or pull which is what I want.
You can also have ssh-agent enable in the current window if you still need to sync quite often. But closing the window just clears the data and the passphrase will be asked for again on a new session (up to you to repeat the ssh-agent steps or not).
After my training ends, I can simply remove that SSH key (EDIT: I meant from GitHub. Should one even forget the key on the VM, it will become useless).

EminoMeneko
Автор

Thank you sir! You have got me half the way there. So much more complex now than when I set it up on my old computer a few years ago. I like your style

johnborron
Автор

Very helpful your explanation on how to install the SSH in Github. Thank you so much! By the way, you teach and also explain things pretty well!

GabrielLuccaMarsola
Автор

I always get back to this video, thank you so much

zouhairsahtout
Автор

Great job! 🥇

Here we need to mention that this is not a tutorial to clone a repository.

JoseLopez-whxe
Автор

wow thanks for this it saves me from two days headache 😂🤣

halleluyahpaul
Автор

Thanks a lot sir very valuable information!!
One small question where is the private key stored? when we generate key pair it actually created public key in local and we pasted the same in website what about private key?

_j.raghava
Автор

This video is really helpful. Thanks now I understand all.

samirkha
Автор

thank you for amazing things, . But I missing something. where did you copy the code that starts ssh ( 5:43 ) from

amuslimintheusa
Автор

well. that's a lot of steps and codes for a beginner. 😁 thanks for you effort. I will try this when I have time
in meantime I am just using the Access token method it is simpler than this SSH one

Smilodon_W_Lee
Автор

Great tutorial 👍! Just what I needed, thank you!

dorian
Автор

I am little bit lost here. Where did you copy your SSH key from before paste it in the new SSH KEY input field?

bluedot
Автор

Hi! So if I already have an ssh generated for Gitlab, the same one should be used for GitHub as well? How often should we change them? Thanks

olga_lc
Автор

If I generated an SSH key on my Windows machine, how to use it on my Linux machine? Should I generate another key for Linux machine?

bodnarsa
Автор

Thankyou so much very clear. able to understand very quick.

gauthamraj
Автор

5:33 from where did you copy this ssh key ..

priyanshubisht
Автор

I followed every step, but when I tried to finally add the ssh key, ii couldn't, the message that appeared was " Key is invalid. You must supply a key in OpenSSH public key format"

DAVIDALYAHIRRADILLOROJAS