How to use GitHub with SSH Keys on Windows 10

  Рет қаралды 46,432

Cameron McKenzie

Cameron McKenzie

2 жыл бұрын

Is the user of the Secure Shell a requirement when you connect to GitHub? In this quick GitHub SSH on Windows tutorial, we'll show you how to create SSH keypairs with ssh-keygen, copy the public SSH key on Windows, configure Windows SSH in GitHub, and finally perform a git clone while connected to GitHub over SSH on Windows.
It requires a bit of PowerShell. It requires a bit of GitHub configuration. And it requires a few SSH keys to be created. But in the end, it's all pretty easy to do.
To learn more about how to create GitHub SSH keys, check out this TechTarget article:
searchitoperations.techtarget...
All in all, you can configure GitHub SSH on Windows in less than 5 minutes. It's that easy!

Пікірлер: 95
@level_up127
@level_up127 5 ай бұрын
I want you to know that I have struggled for legitimately hour trying over multiple days to get SSH keys working on my pc. Every other tutorial uses complicated commands that my computer never understands, so legitimately thank you for such a simple tutorial it finally worked... Also your positivity in this tutorial was greatly appreciated I was really losing hope and it helped so much. Thank you so much for this tutorial!
@PC-il7yh
@PC-il7yh 4 ай бұрын
Dude! What a chill and straightforward video! Thanks!
@lmoreno2103
@lmoreno2103 Жыл бұрын
Good stuff, quick and easy tutorial. Appreciate it!
@cameronmcnz
@cameronmcnz 8 ай бұрын
Trying to keep things as simple as possible.
@acronproject
@acronproject 6 ай бұрын
Thanks for this content. It's very useful and clear understanding for me.
@alexandrogiles7217
@alexandrogiles7217 7 ай бұрын
Thank for your explanation with that humorous touch of you, really enjoy those comments: "I don't gonna judge you".
@pamelaanele7235
@pamelaanele7235 Жыл бұрын
This was helpful. thank you
@kalashnikov203
@kalashnikov203 8 ай бұрын
Short and detailed, love it !!!
@cameronmcnz
@cameronmcnz 8 ай бұрын
I really try to keep my videos short and to the point. Unfortunately, the KZbin algo tends to promote longer videos where they can stuff more ads into them. Perhaps I should to a 5 minute dance at the end of these videos to get them over the 8 minute hump?
@kalashnikov203
@kalashnikov203 8 ай бұрын
@@cameronmcnz Most of the other long videos I've seen in KZbin missed "adding the SSH key in GitHub" part, after spending hours I'm glad I came across this video, was super helpful. Earlier we could easily differentiate the good/bad videos based on likes/dislikes ratio but now we have to go through many videos to get to a good one like yours. Basically more viewer engagement thus more revenue to KZbin. Thanks.... Hope your channel grows
@luigiistratescu2756
@luigiistratescu2756 Жыл бұрын
YOU ARE A M A Z I N G, sorted me out, short & concise!
@cameronmcnz
@cameronmcnz Жыл бұрын
I am kinda amazing. :) Seriously though, I'm tryin to keep my videos short. Nobody wants to sit for 10 minutes waiting for a solution. Glad I could help!
@Quadropheniaspain
@Quadropheniaspain Жыл бұрын
amazing, you're great. i whish all my so called teachers had half the talent you have!
@cameronmcnz
@cameronmcnz Жыл бұрын
You're too kind! Git gets easier from here on in, trust me!
@user-gh6xj3bs4q
@user-gh6xj3bs4q 7 ай бұрын
Ty brother. It helped me a lot.
@cameronmcnz
@cameronmcnz 7 ай бұрын
Glad I could help! GitHub and Git gets a lot easier once the whole SSH key situation is worked out!
@BanAaron
@BanAaron 9 ай бұрын
Great video. Clear and straght to the point
@cameronmcnz
@cameronmcnz 9 ай бұрын
Glad I could be of service!
@BanAaron
@BanAaron 9 ай бұрын
@@cameronmcnz it's crazy how unclear githubs instructions are on such a simple process lol
@cameronmcnz
@cameronmcnz 9 ай бұрын
Yeah, this video has been far more popular that it ever should have been. @@BanAaron
@acutitan2271
@acutitan2271 9 ай бұрын
Thank you soooooo much for this it turns out that due to a driver issue I couldn't make ssh keys from gitbash but I never thought of using powershell my issue is solved and I am no longer in fear of getting a 0 on my first assignment of the semester tysm!
@cameronmcnz
@cameronmcnz 9 ай бұрын
If any professor ever gives you a 0 on a project they have to answer to me! I'm glad I helped you out. I promise, Git and GitHub gets a lot easier once you've got all of the SSH nonsense figured out!
@acutitan2271
@acutitan2271 8 ай бұрын
@@cameronmcnz You've definitely got a point there thanks again
@danushkagamage729
@danushkagamage729 8 ай бұрын
oh sir , love the way you doing that
@maknusmoskovitz2575
@maknusmoskovitz2575 10 ай бұрын
Best tutorial out there, thanks... really
@cameronmcnz
@cameronmcnz 10 ай бұрын
Tell me more lies, I like them! I assume very intelligent viewers so I don't go over basic stuff. That makes my videos short and to the point. Less technical viewers find my videos overwhelming. If you liked it, it's more of a reflection of your brilliance than my video crafting skills. Oh, and Git gets a lot easier once you're through the SSH key gate.
@maknusmoskovitz2575
@maknusmoskovitz2575 5 ай бұрын
haha I was not being sarcastic, I came here to this video again because I bought a new computer and this is the tutorial that always works. :)@@cameronmcnz
@otaxhu8021
@otaxhu8021 8 ай бұрын
what an easy tutorial, very good bro
@cameronmcnz
@cameronmcnz 8 ай бұрын
I'm glad this SSH and GitHub tutorial still works! I've been updating a bunch of my Git content to keep everything up to date.
@otaxhu8021
@otaxhu8021 8 ай бұрын
@@cameronmcnz yes still works but in Github added an option when you create a new ssh key, it's something like two options i don't remember, like authentication key or signing key something like that
@otaxhu8021
@otaxhu8021 8 ай бұрын
You have to select between those two values
@cameronmcnz
@cameronmcnz 8 ай бұрын
This video is one of my more popular ones, but it is over a year old. I think you motivated me to do an update!@@otaxhu8021
@dmytro-dovhan
@dmytro-dovhan Жыл бұрын
thanks, saved my day😀
@GaborGubicza
@GaborGubicza 6 ай бұрын
Short, snappy, accurate, no BS. 5 star. Hardware Engineer transitioning to Software.
@cameronmcnz
@cameronmcnz 4 ай бұрын
Glad to be of service! Git and GitHub gets a lot easier from here on in!
@helamanavalos9806
@helamanavalos9806 3 ай бұрын
what a nice video, thank you!
@cameronmcnz
@cameronmcnz 3 ай бұрын
Thanks for the kind words! The audio quality leaves a little to be desired. I've been updating lots of these videos with an improved mic and camera. But if this quickly solved your problem, the audio quality is really an afterthought, isn't it? Glad I could help!
@helamanavalos9806
@helamanavalos9806 3 ай бұрын
@@cameronmcnz I didn't even notice the audio!, it was pretty good
@codingisfun-pranayharishch3001
@codingisfun-pranayharishch3001 9 ай бұрын
thank you sooooooooooooooo much sir, i am so thankful you made this video
@cameronmcnz
@cameronmcnz 9 ай бұрын
I am sooooooooooooooo thankful that you watched! Trust me, Git and GitHub gets so much easier once the SSH issues are out of the way!
@MultiPauleee
@MultiPauleee Жыл бұрын
don't you have to add your ssh key to your ssh agent in order to push afterwords to github?
@anacosta5447
@anacosta5447 Жыл бұрын
Thumbs up just because listening to you just made me feel good about life! With a strange urge to draw ascii art....
@cameronmcnz
@cameronmcnz Жыл бұрын
Thanks for the kind words! We should create a site dedicated just to ASCII art!
@romecold411
@romecold411 8 ай бұрын
Many thanks !!!
@abrahamchristopher2805
@abrahamchristopher2805 Жыл бұрын
you are a life saver...❤❤❤❤❤❤
@holvender
@holvender Жыл бұрын
Thank You!
@marco6ocram
@marco6ocram 6 ай бұрын
Thank You
@gabrieldeluccavieira6938
@gabrieldeluccavieira6938 Жыл бұрын
THANK YOU!!!
@paulaji
@paulaji Жыл бұрын
When bro is hilarious and gets the job done! :)
@cameronmcnz
@cameronmcnz Жыл бұрын
Just trying to live my best life. Glad I could help!
@ishirraj8554
@ishirraj8554 8 ай бұрын
Thanks a lot.
@cameronmcnz
@cameronmcnz 8 ай бұрын
Glad I could help. Things with git get much easier from here on in.
@P4hs
@P4hs 2 жыл бұрын
"fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists."
@romashka7519
@romashka7519 Жыл бұрын
the same shit, dude, have you managed with this problem?
@nazimrasheed2856
@nazimrasheed2856 Жыл бұрын
i am having same issue did you get it resolved?
@tuntany
@tuntany Жыл бұрын
Redo the cloning command and give the password you choose before. It worked for me with the second try.
@janan8961
@janan8961 Жыл бұрын
same problem,did you solve it ?
@yrnkevinsmithC-137
@yrnkevinsmithC-137 Жыл бұрын
@@janan8961 did you solve it?
@ecaterinabargan5028
@ecaterinabargan5028 Жыл бұрын
thank you!!!
@cameronmcnz
@cameronmcnz Жыл бұрын
You're welcome! GitHub gets a lot easier after you can connect with it!
@hjolany1983
@hjolany1983 10 ай бұрын
That was great.
@cameronmcnz
@cameronmcnz 10 ай бұрын
Glad I could help!
@manishpadole3766
@manishpadole3766 9 ай бұрын
Thanks a lot
@cameronmcnz
@cameronmcnz 9 ай бұрын
Glad I could help! Git and GitHub gets a lot easier from here on in!
@nadjibdev929
@nadjibdev929 Жыл бұрын
thank you sir
@astev52
@astev52 Жыл бұрын
Just be aware, this is for windows and will work with wsl bash, but won't work with Ubuntu if you are using it in the wsl sub-system. The key needs to be generated with Ubuntu and stored in /home/
@cameronmcnz
@cameronmcnz 10 ай бұрын
Did not know that. Will make that very point when I update this video. You're not getting any royalties though.
@codingisfun-pranayharishch3001
@codingisfun-pranayharishch3001 9 ай бұрын
😂😂🤣@@cameronmcnz
@codingisfun-pranayharishch3001
@codingisfun-pranayharishch3001 9 ай бұрын
yeah correct.... i also wasted lot of my time figuring out that
@anuppote1568
@anuppote1568 4 ай бұрын
Do we need to do anything with the private key as well, after setting the public key on github!!!!
@cameronmcnz
@cameronmcnz 4 ай бұрын
Check the hidden .ssh folder under your user's home folder. The private key should be in there. Git knows to go looking in there any time it needs to do a handshake with the server. So do you need to do anything? Yes, you need to leave them alone!!! Hope the video helped!
@anuppote1568
@anuppote1568 4 ай бұрын
@@cameronmcnz thank you for the quick response:) The video helped a lot!
@cameronmcnz
@cameronmcnz 4 ай бұрын
@@anuppote1568 Happy to help. I just posted a marathon 2 hour GitHub video. My longest video ever. Feel free to check it out!
@Lafsha
@Lafsha 8 ай бұрын
THank You
@rusanovschicristian3790
@rusanovschicristian3790 Жыл бұрын
Thanks!!!!
@cameronmcnz
@cameronmcnz Жыл бұрын
Glad I could help! Git gets easier from here on in, I promise.
@williamdevonshire356
@williamdevonshire356 9 ай бұрын
nice thanks :) for me i was trying to do it in my vscode terminal and wasnt working. I had to eventually go to my gitcmd and do it there and tada
@glenvanstaey7926
@glenvanstaey7926 10 ай бұрын
I did the clone function the same as you did, but my powerShell is not recognizing the git term. Am I missing something ? :D
@codingisfun-pranayharishch3001
@codingisfun-pranayharishch3001 9 ай бұрын
bro use gitlens superchared extension
@MohamedSayedAbdElRaheem
@MohamedSayedAbdElRaheem 7 ай бұрын
what is point to create ssh key ? i still didn't get it
@iamgroot9514
@iamgroot9514 2 жыл бұрын
🔥🔥
@ClaudioParraGonzalez
@ClaudioParraGonzalez Жыл бұрын
I love the voice! 😂
@cameronmcnz
@cameronmcnz Жыл бұрын
It's my 'radio voice.' :)
@setupspawn5073
@setupspawn5073 Жыл бұрын
cool
@DS2isgood
@DS2isgood Жыл бұрын
WHY WONT MY "git" WORK IN POWERSHELL! AH
@bimaltwayana2058
@bimaltwayana2058 Жыл бұрын
where is ssh folder? I don't see it
@ivanphone4917
@ivanphone4917 Жыл бұрын
You may need to show hidden folders.
@czesiekkowalski662
@czesiekkowalski662 6 ай бұрын
The question is how do I do git push with SSH?
@fredoverflow
@fredoverflow Жыл бұрын
4:24 The FBI is watching me? I knew it 😂
@abdullahsaid8561
@abdullahsaid8561 2 ай бұрын
Host key verification failed.
@cameronmcnz
@cameronmcnz 2 ай бұрын
Any chance you posted the private key to GitHub?
@abdullahsaid8561
@abdullahsaid8561 2 ай бұрын
@@cameronmcnz i did
@cameronmcnz
@cameronmcnz 2 ай бұрын
@@abdullahsaid8561 I haven't hit that error myself, so you've out of my depth now. Maybe ask on StackOverflow and tag me? If they can figure it out I'll do a separate video on fixing that GitHub SSH error!
@Gamingmodeon173
@Gamingmodeon173 Жыл бұрын
not working.............too many arguments
setup ssh on windows for github and clone repo
10:47
Learn4Tarakki
Рет қаралды 3,7 М.
SSH Keys
10:12
RobEdwards
Рет қаралды 97 М.
¡Puaj! No comas piruleta sucia, usa un gadget 😱 #herramienta
00:30
JOON Spanish
Рет қаралды 22 МЛН
КАРМАНЧИК 2 СЕЗОН 5 СЕРИЯ
27:21
Inter Production
Рет қаралды 519 М.
Miracle Doctor Saves Blind Girl ❤️
00:59
Alan Chikin Chow
Рет қаралды 21 МЛН
Indian sharing by Secret Vlog #shorts
00:13
Secret Vlog
Рет қаралды 41 МЛН
How to Generate GitHub SSH Keys
19:15
Cameron McKenzie
Рет қаралды 6 М.
Setup Git for using GitLab (including SSH key) - Windows 10
13:42
Valentin Despa
Рет қаралды 167 М.
Generate SSH keys for Windows -  Secure Shell Easy Way
6:30
williamsk
Рет қаралды 24 М.
Setting Up SSH Keys for GitHub
10:43
Victor Geislinger
Рет қаралды 163 М.
SSH Keys and Github
10:51
Susan B.
Рет қаралды 6 М.
Setup SSH for Github Account
15:55
Geeky Shows
Рет қаралды 8 М.
How to setup SSH for GitHub repository
9:58
Codemify
Рет қаралды 65 М.
SSH To Windows Using Public Key
13:40
William Campbell
Рет қаралды 68 М.
Multiple Github Accounts on One Computer with SSH
17:42
Seeker Labs
Рет қаралды 30 М.
Push code to GitHub with an SSH key
13:51
Digital CEO
Рет қаралды 24 М.
¡Puaj! No comas piruleta sucia, usa un gadget 😱 #herramienta
00:30
JOON Spanish
Рет қаралды 22 МЛН