No video

Fix Git's SSH Permission Denied (PublicKey) Error on GitHub (git@github.com)

  Рет қаралды 48,611

Cameron McKenzie

Cameron McKenzie

Күн бұрын

Пікірлер: 149
@ksuiegaming9346
@ksuiegaming9346 Жыл бұрын
You just saved me from smashing my computer and burning down my apartment. 9 hours I have been looking for a solution.... god bless you.
@timothyroy20111
@timothyroy20111 2 жыл бұрын
Thank you for making it easy to understand. I have been searching everywhere for an easy solution but everyone makes it complicated. Thank you for making it so easy to solve :)
@cameronmcnz
@cameronmcnz 2 жыл бұрын
Thank you so much! I honestly put this video together very quickly. I'm really surprised and happy to see it helping so many people!
@TheInternetFan
@TheInternetFan Жыл бұрын
does one have to do this whole process everytime they connect to a remote repo? is it necessary to upload a NEW public key on github everytime one needs to clone or push or pull code?
@ob5804
@ob5804 8 ай бұрын
Is it possible to change the directory /c/users/olga/.ssh/id_rsa to d/programs/dev/.ssh/id_rsa in the git bash console??(could this be a bug later?) I keep everything on D drive because if something happens to the computer, everything will be saved@@cameronmcnz
@ignasijs9734
@ignasijs9734 2 ай бұрын
LEGEND FOR PEOPLE WHO WORK WITH CODE WITHOUT BEING DEEP INFORMATICIANS LEGEND OF THE GAME !! LOVE THIS SO MUCH
@cameronmcnz
@cameronmcnz 2 ай бұрын
Always happy to helpl!
@deepee5897
@deepee5897 Жыл бұрын
OMG lifesaver! This process was killing me as I was trying to clone through eclipse as advised by course material and it wouldn't work. You've saved me hrs of headaches lol. Thank you!
@cameronmcnz
@cameronmcnz Жыл бұрын
Being a great dev means knowing how to find answers to problems. So you saved yourself. I just made a short video. Let me know if Eclipse gives you a hassle. Importing into Eclipse can be tricky at first.
@anushreeraok.s.8753
@anushreeraok.s.8753 Жыл бұрын
Totally worked! After spending 2 days in this, I was not understanding the flow how this works. Thanks for this video!
@andertker4460
@andertker4460 Жыл бұрын
I recently bought a new laptop, you've been the only one that has really helped me sync my new laptop with my git repos. Thanks. Greetings from Bilbao, Basque Country, Spain.
@kashivitagors7823
@kashivitagors7823 10 ай бұрын
My hat's off to you for helping me fix that freaking problem after 2 days of searching on KZfaq 💯💯💯
@cameronmcnz
@cameronmcnz 10 ай бұрын
Glad I could help! Git and GitHub becomes so much easier once the SSH issues are out of the way!
@erenkall
@erenkall 10 ай бұрын
thank you sooo much man. This is the 5th video I've been watching and it was extremely easy to understand. Keep up the good work!
@cameronmcnz
@cameronmcnz 10 ай бұрын
Glad I could help! Git and GitHub gets a lot easier after the SSH issues are out of the way!
@sebastiansamayoa3239
@sebastiansamayoa3239 10 ай бұрын
I saw many videos before and your video es way ahead of everyone else. Easy to understand! You should do more videos
@cameronmcnz
@cameronmcnz 10 ай бұрын
I have over 500 videos! What I need is for viewers to watch them! Thanks for your kind words. Really made my day. Hopefully one day I will manage to rock the KZfaq algo!
@sebastiansamayoa3239
@sebastiansamayoa3239 10 ай бұрын
@@cameronmcnz what 500? I will be checking on them right away. I'm just starting in the programming world, if you can do videos about git hub and how you can use it as a portfolio it will be helpful for other peers. And also, I studied marketing so I can definitely help you out with your KZfaq channel in exchange for your knowledge in programming haha keep going Cameron, thanks again for your video
@flavioluciodf
@flavioluciodf 4 ай бұрын
After lot of videos watched, you saved my life. Thank you very much.
@cameronmcnz
@cameronmcnz 4 ай бұрын
Being a great developer means knowing where to find answers to your questions. You saved yourself. All I did was record a short video.
@nethranjaleewijesinghe6011
@nethranjaleewijesinghe6011 8 ай бұрын
i was in a very big trouble until i found your video sir......thank u very much 🥳🥳🥳🥳
@cameronmcnz
@cameronmcnz 8 ай бұрын
Wait... You were watching OTHER videos??? Glad I could help! I think this video is getting a bit old. I should update it in case there have been any UI changes in GitHub. Thanks for the kind words!
@marcosperez5828
@marcosperez5828 9 ай бұрын
Absolute legend, its my first time using git and you saved my mind from going insane, thank you
@cameronmcnz
@cameronmcnz 9 ай бұрын
Glad I could help! Trust me, Git and GitHub gets a lot easier once you get the SSH junk out of the way! Working on some full Git and GitHub tutorials so stay tuned!
@dhanashekar72
@dhanashekar72 5 ай бұрын
Thank you so much, sir! I had the same issue on my GitLab, but used your commands, and it worked. Thanks again🙌🙌
@cameronmcnz
@cameronmcnz 5 ай бұрын
"A little altered?" I've been described that way. Glad you got this to work. Git and GitHub gets a lot easier once you get the connection stuff out of the way!
@mayhem1994
@mayhem1994 2 жыл бұрын
trying to do this from my pi to my windows have the same issue but doesnt matter what i try nothing works
@sketdjogt
@sketdjogt Жыл бұрын
Thanks man, I tried a lot of methods for validate git push and this one worked.
@cameronmcnz
@cameronmcnz Жыл бұрын
Glad I could help! It gets easier from here, trust me.
@liudmilahalvorson4737
@liudmilahalvorson4737 Жыл бұрын
Thanks Cameron! You saved my day! I been trying a few times and it didn't work until I saw your video!! Fantastic!
@chandrachurmukherjeejucse5816
@chandrachurmukherjeejucse5816 Жыл бұрын
Thank you so much sir. I was trying to solve this for very long time.
@rakshithaa3
@rakshithaa3 Жыл бұрын
Thank you so much..I was struggling a lot to generate ssh key.
@jfabianluevanorodriguez2311
@jfabianluevanorodriguez2311 Жыл бұрын
THANK YOU! your video is well explained wich made it enjoyable for newbies ... You earned a new follower Lad! I also follow you in github!
@cameronmcnz
@cameronmcnz Жыл бұрын
Just trying to keep it simple. It gets a lot easier after you figure out how to log in. I promise!
@gtrj55tgjr
@gtrj55tgjr 11 ай бұрын
Thank you very much, its work for me, i was investing my much time on googling but i got answer here only Thank you very much
@cameronmcnz
@cameronmcnz 11 ай бұрын
So glad I could help! I guess the less of the day is always come here first! 🤣 Git gets a lot easier from here on in, especially once you get your SSH permissions all figured out. Have fun with Git!
@davidmangena6278
@davidmangena6278 Жыл бұрын
Thanks, I couldn't find the solution anywhere.
@aqsolath2681
@aqsolath2681 Жыл бұрын
thank you so much sir... short and clear
@cameronmcnz
@cameronmcnz Жыл бұрын
Thanks! I try and keep my videos short and to the point. Sadly, I think KZfaq favors longer videos. Perhaps I should just start tap-dancing for 8 minutes after I'm done talking?
@SlipknotWood
@SlipknotWood Жыл бұрын
Thanks a lot! This helped me BIG TIME
@jaime5649
@jaime5649 Жыл бұрын
thanks so much, love your tone and the way you talk
@pablomota4056
@pablomota4056 Жыл бұрын
Hi Cameron, I followed your instruction very specifically. Yet I am still getting the same issue of my ssh pub. key not being authenticated. Any other possible solutions? I am trying to move a new page from local to remote.
@enedigodswill
@enedigodswill 9 күн бұрын
Thank you so much for your videos. You've really saved me a lot of time and effort on my project. Great videos by the way.
@samarammar5154
@samarammar5154 Жыл бұрын
Thank you so much. I've been stuck in this for like two hours.
@salehahmed8936
@salehahmed8936 Жыл бұрын
THANKS A LOT THIS DESERVES MORE VIEWS
@cameronmcnz
@cameronmcnz Жыл бұрын
All of my videos deserve more views! I'm trying to keep my videos short and to the point. I think KZfaq tends to favor longer videos. So my git stuff doesn't get ranked highly in searches. Super-happy I could help you out!
@javidmammadov6726
@javidmammadov6726 Жыл бұрын
Thanks Cameron for an amazing explanation! Best regards
@teemukoskinen2647
@teemukoskinen2647 2 жыл бұрын
This doesn't help me when I'm trying to clone repo by using Salt. I get that permission denied error though I have my own public key in the github. Cloning without Salt works fine but with Salt I get this error. I'm currently trying to build Salt state that clones my important repos on the new machine.
@gustavemuhoza4212
@gustavemuhoza4212 2 жыл бұрын
What does the error say? Could it be the permissions on the ssh key?
@sureshp5523
@sureshp5523 2 жыл бұрын
Thanks Cameron, Savior
@cameronmcnz
@cameronmcnz 2 жыл бұрын
Only Jesus can save. But I doubt Jesus can configure an SSH key for GitHub, so we've got that on Him. Glad I could help!
@valentinainostroza8320
@valentinainostroza8320 Жыл бұрын
You make my day! Thank you very much!!
@cameronmcnz
@cameronmcnz Жыл бұрын
Glad i could help!
@pramodkhatri85
@pramodkhatri85 2 жыл бұрын
YOU SAVED MY DAY. Thank you so much.
@cameronmcnz
@cameronmcnz 2 жыл бұрын
Glad I could help!
@thayscasado255
@thayscasado255 2 жыл бұрын
Thank youuu! It was constructive and well explained!
@cameronmcnz
@cameronmcnz 2 жыл бұрын
Thank you so much for the kind words!
@tomokinryou1860
@tomokinryou1860 Жыл бұрын
You are very interesting and your method really works, thank you
@cameronmcnz
@cameronmcnz Жыл бұрын
Thanks for the kind words!
@ReactRanger
@ReactRanger 2 жыл бұрын
Indeed it was very helpful, Cameron! Thanks a lot! Just hit that subscribe button as hard as possible! Have a wonderful day!
@cameronmcnz
@cameronmcnz 2 жыл бұрын
Thanks so much for the kind words!
@sidb2023
@sidb2023 10 ай бұрын
Hi Cameron. thanks for this video. I am able to run clone command but I need to push my local fines into github repository. I am getting below error error: src refspec master does not match any
@cameronmcnz
@cameronmcnz 10 ай бұрын
do a 'git branch -a' What are your local branches named? Master or main? What is the name of the branches on the server? Make sure they match up.
@sktzamesa2996
@sktzamesa2996 2 ай бұрын
Thank you so much i was looking for this
@fatiamri6790
@fatiamri6790 Жыл бұрын
Thank you, that was so helpful
@Andrew-Tsegaye
@Andrew-Tsegaye 3 ай бұрын
Thank you so much!
@spellbound8602
@spellbound8602 Жыл бұрын
Thank you so much. I've been stuck because of this problem, but I managed to solve it thanks to your video. By the way, I don't know why Github started to force me to use public and private keys all of a sudden. My account doesn't belong to any organization, and thus there's no reason for this. Does this happen randomly?
@elmergomez968
@elmergomez968 Жыл бұрын
Do you know where the "owner folder" lives in a Mac Book? I am trying to find the folder to delete the SSH keys but cant seem to find it? Is that step necessary?
@user-jd2jl2jh5q
@user-jd2jl2jh5q 6 ай бұрын
simply awesome thanks🙏🙏🙏
@juanrulliansyah
@juanrulliansyah Жыл бұрын
You saved me, big thanks!
@cameronmcnz
@cameronmcnz Жыл бұрын
You saved yourself by knowing where to look. All the praise goes to you my friend!
@khantsithuphyo5484
@khantsithuphyo5484 Жыл бұрын
In my case Error: fatal: protocol error: bad line length character:warm and I follow your way but still have and can't resolved
@roger093
@roger093 6 ай бұрын
Thank you so much Cam. It helped me a lot.
@cameronmcnz
@cameronmcnz 5 ай бұрын
Always happy to help!
@satoshi9829
@satoshi9829 Жыл бұрын
wow thanks works perfectly!
@cameronmcnz
@cameronmcnz Жыл бұрын
Glad I could help. Git gets a lot easier from here!
@shay75
@shay75 Ай бұрын
Thanks Dude! Youe saved my live❤
@darcking99
@darcking99 Жыл бұрын
Thanks a lot Mr. awesome tutorial
@amirariyan9132
@amirariyan9132 10 ай бұрын
thank you so much , it was really help full
@cameronmcnz
@cameronmcnz 10 ай бұрын
Glad I could help! Git and GitHub gets easier from here on in!
@kennickson9961
@kennickson9961 2 жыл бұрын
God bless u buddy
@cameronmcnz
@cameronmcnz 2 жыл бұрын
So glad I could help you out. Hopefully the rest of your Git and GitHub journey will be smooth!
@muthukamalan.m6316
@muthukamalan.m6316 Жыл бұрын
you made my day easy
@arpanganguly5190
@arpanganguly5190 Жыл бұрын
Thank you very much ,you have saved my day 🙂
@cameronmcnz
@cameronmcnz Жыл бұрын
Only Jesus has the power to save. But I'm glad I could help you out on your GitHub SSH connections!
@josesanchezpalacios8991
@josesanchezpalacios8991 Жыл бұрын
Thanks Cameron !
@deshnashah828
@deshnashah828 Жыл бұрын
where we can find the folder named .ssh and .pub file
@cameronmcnz
@cameronmcnz Жыл бұрын
I believe under the user's home directory in windows and Linux/Ubuntu. The folders are hidden I believe, so make sure you've made hidden folders visible. If you do the command with sudo it might go under the root account, which isn't good.
@tsidiesechele7548
@tsidiesechele7548 6 ай бұрын
Thanks, worked!
@cameronmcnz
@cameronmcnz 6 ай бұрын
Say nice things when you talk about me! ❤
@thosebeyondgod
@thosebeyondgod 2 жыл бұрын
Thank you so much! Savior!
@cameronmcnz
@cameronmcnz 2 жыл бұрын
So glad I could help fill in some of the gaps!
@hamzaosmanbofobia9685
@hamzaosmanbofobia9685 3 ай бұрын
Thank you bro
@cameronmcnz
@cameronmcnz 3 ай бұрын
Happy to help. It's a frustrating error!
@MeshTheSnake
@MeshTheSnake Жыл бұрын
Legend, thank you so much!
@chanonsritulakan6647
@chanonsritulakan6647 3 ай бұрын
Thank you, you saved my ass!!
@cameronmcnz
@cameronmcnz 3 ай бұрын
Knowing where to find answers is what being a dev is all about. You found the answer. You saved yourself. All I did was record a simple video.
@modpeg2326
@modpeg2326 Ай бұрын
👍👍 thank you for solution!
@Arjunwow123
@Arjunwow123 Жыл бұрын
It worked, thank you!!
@rajanrajak7556
@rajanrajak7556 8 ай бұрын
thanks bro 👍
@mohitgond5315
@mohitgond5315 9 ай бұрын
Thankyou it works for me
@anhucle2022
@anhucle2022 Жыл бұрын
Thanks, I'm really happly because my project can be push into git
@user-mn5wg4yx3b
@user-mn5wg4yx3b 7 ай бұрын
Thank you❤
@cameronmcnz
@cameronmcnz 7 ай бұрын
Glad I could help! Git and GitHub gets a lot easier from here on in.
@SuperTjuas
@SuperTjuas 3 ай бұрын
Thank you so so much
@alephzero7808
@alephzero7808 9 ай бұрын
But that Permission denied error still there at the end😮
@azizbeksultonov4156
@azizbeksultonov4156 7 ай бұрын
Woww!!! Thank you a lot!!
@cameronmcnz
@cameronmcnz 7 ай бұрын
Git and GitHub gets a lot easier here on in, I promise! I actually just posted a 2 hour tutorial on Git and GitHub. Check it out! kzfaq.info/get/bejne/opippa2l3NWnj3k.htmlsi=cxMDcli3FpwBOi_D
@ballchaiball2
@ballchaiball2 Жыл бұрын
you are god , thx
@mixlomatosis
@mixlomatosis 2 жыл бұрын
This fixed my life
@cameronmcnz
@cameronmcnz 2 жыл бұрын
That's what I do. I fix people's lives!
@rufetmezemov9490
@rufetmezemov9490 2 жыл бұрын
Thank you so much for video,i'm gratefull
@cameronmcnz
@cameronmcnz 2 жыл бұрын
Thanks for the kind comment. You've made my day! Happy Git!!!
@YillakGedamu
@YillakGedamu Жыл бұрын
thank you very much. it did👌
@saulg0udman
@saulg0udman 2 жыл бұрын
Thank you so much ❤
@cameronmcnz
@cameronmcnz 2 жыл бұрын
So happy that this video I was never even going to do has helped so many people with GitHub and SSH!
@luankim2327
@luankim2327 Жыл бұрын
Thank you 😄😄😄
@crosswalker45
@crosswalker45 9 ай бұрын
Thankyou so much .
@JoyJoy-sh2vb
@JoyJoy-sh2vb Жыл бұрын
Thanks a million!
@polarcat9234
@polarcat9234 Жыл бұрын
thank you!
@leonardopacheco5716
@leonardopacheco5716 Жыл бұрын
thanks a lot. That Worked..!! 😁👍
@hieuFGG911
@hieuFGG911 Жыл бұрын
Thanks so much
@legalizeman
@legalizeman Жыл бұрын
Thank, that was helpful)
@isws
@isws Жыл бұрын
crazy 🙏 thank you so much
@elkinj5991
@elkinj5991 9 ай бұрын
Thanks a lot
@guidingtechbd
@guidingtechbd Жыл бұрын
Thanks!
@cerdek9190
@cerdek9190 2 жыл бұрын
thank you very much this helped🔥
@danielpaz1746
@danielpaz1746 9 ай бұрын
Gracias amigo.
@Mohamed_Shokry
@Mohamed_Shokry Жыл бұрын
thanks alot
@cameronmcnz
@cameronmcnz Жыл бұрын
Glad to be of service. Git and GitHub gets a lot easier from here on in.
@davidm973
@davidm973 Жыл бұрын
Awesomenessss!
@bubumunhuu4112
@bubumunhuu4112 Жыл бұрын
thank you it worked
@ibrahelsheikh
@ibrahelsheikh Жыл бұрын
thanks so much
@darcking99
@darcking99 Жыл бұрын
the command to generate a key seems to be outdated, help!
@darcking99
@darcking99 Жыл бұрын
lol my bad I was typing -c, but it was -C. My badddd
@cameronmcnz
@cameronmcnz Жыл бұрын
@@darcking99 I was just about to go jump in and do some triage. Glad I could help!
@issadeeb4811
@issadeeb4811 Жыл бұрын
thank you❤❤
@acepcaturnugraha9088
@acepcaturnugraha9088 Жыл бұрын
Thank You 👍👍👍
@odiabani8456
@odiabani8456 Жыл бұрын
thankyou
@welsouza88
@welsouza88 Жыл бұрын
Valeu! Salvou legal!
@charanasukroat263
@charanasukroat263 Жыл бұрын
Thanks :)
@raulhende9219
@raulhende9219 Жыл бұрын
Tnk yuo! excelent data!!!!
@ngocnguyenthihong9761
@ngocnguyenthihong9761 2 жыл бұрын
thanks a lot!!
@jhonatanadrianosoto3562
@jhonatanadrianosoto3562 2 жыл бұрын
Muy buen video saludos desde PERU ! si me funciono solo no me sale mi correo en la ultima parte donde verifica pero ya pude clonar mi repositorio.
@Vaquiita
@Vaquiita Жыл бұрын
Gracias por tanto padre
Setting Up SSH Keys for GitHub
10:43
Victor Geislinger
Рет қаралды 170 М.
Fix for SSH Permission Denied (Public Key)
12:57
Susan B.
Рет қаралды 82 М.
Running With Bigger And Bigger Feastables
00:17
MrBeast
Рет қаралды 134 МЛН
Fortunately, Ultraman protects me  #shorts #ultraman #ultramantiga #liveaction
00:10
艾莎撒娇得到王子的原谅#艾莎
00:24
在逃的公主
Рет қаралды 50 МЛН
Git and GitHub Crash Course For Beginners | Complete Tutorial [2024]
1:53:19
Generate Git SSH Keys That Work Everywhere
7:41
Cameron McKenzie
Рет қаралды 31 М.
How to Generate GitHub SSH Keys
19:15
Cameron McKenzie
Рет қаралды 10 М.
15 Signs Someone Is TRACKING Your iPhone & How To Stop It
22:02
Payette Forward
Рет қаралды 4,1 МЛН
Tmux has forever changed the way I write code.
13:30
Dreams of Code
Рет қаралды 965 М.
Transport Layer Security (TLS) - Computerphile
15:33
Computerphile
Рет қаралды 476 М.
Running With Bigger And Bigger Feastables
00:17
MrBeast
Рет қаралды 134 МЛН