Fix for SSH Permission Denied (Public Key)

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ม.ค. 2025

ความคิดเห็น • 331

  • @codewithsusan
    @codewithsusan  8 หลายเดือนก่อน +3

    If this info helped you out you can say thanks and support future content by clicking my Amazon affiliate link: amzn.to/3JwRQeF. If you make a purchase on Amazon within 24 hours of clicking the link I may receive a micro-commission and it costs you nothing extra. Any income from these sales goes directly to supporting me in making new videos and guides. Thank you for your support!

  • @ashwanimehta721
    @ashwanimehta721 10 หลายเดือนก่อน +5

    I was stucked in this step from last 2 days and after seeing this video i did it in less than 5 mins. Words not enough to thank you @Susan.

  • @HaykapSupays
    @HaykapSupays 3 หลายเดือนก่อน +1

    Thank you Susan, I had checked 100 tutorials and your explanation was the only one that could finally help me solve my issue.

  • @adityapalwankar1386
    @adityapalwankar1386 2 ปีที่แล้ว +11

    Susan, words won't be enough to thank you on how amazing this tutorial is! So informative, so many positives. To begin with the way you explained, managed, wow! + you solved my problems in less then 15 mins, I have been googling for 60 mins! Thank you

    • @codewithsusan
      @codewithsusan  2 ปีที่แล้ว +3

      So happy it helped, @Aditya! 🙂

  • @jhbk5
    @jhbk5 2 หลายเดือนก่อน

    I was stuck on this issue for days. Thank you so much for not only creating a clear tutorial, but also explaining what was causing the error.

  • @FR-vr2hd
    @FR-vr2hd 8 หลายเดือนก่อน +2

    Hi Susan,
    Thanks for the awesome tutorial.
    It solved the issue that I was grappling with for the past 3+ days.
    None of the other tutorials even come close to what and how you have described the issue and its resolution.
    Thanks

  • @montaviusbip
    @montaviusbip ปีที่แล้ว +2

    I was starting to lose my mind trying to figure this out! You are a life saver, thank you!

  • @ChrisEj_The_Broly
    @ChrisEj_The_Broly 2 หลายเดือนก่อน

    You are a true Pro Susan, i had two days of turmoil trying to hit my head on the wall to find this. New subscriber here 😊

  • @ankithshetty1153
    @ankithshetty1153 5 หลายเดือนก่อน +1

    Thank you so much for your help with the authentication problem! I was stuck on this issue for a whole day, and your video provided the clear and effective solution I needed. I really appreciate your time and effort in making such valuable content. You’ve saved me a lot of frustration-thanks again! ❤

    • @jeffrisdon2803
      @jeffrisdon2803 4 หลายเดือนก่อน

      Hi all I figured it out! for some reason I had to use this line to create the publiv and private IDs ssh-keygen -t ed25519 -C "your email addy goes here". That worked!

  • @912stable
    @912stable 8 หลายเดือนก่อน

    I love this video. Thank you, Susan. You're more helpful than the folks at DO!

  • @KaWinchester
    @KaWinchester ปีที่แล้ว +1

    1 gün boyunca uğraşıyordum sayende halledebildim

  • @justiny.2515
    @justiny.2515 ปีที่แล้ว +1

    I'm so glad I had this issue, because now after watching your video, I finally have a decent understanding of how ssh works.
    Thank you :)

  • @MercelSantos
    @MercelSantos 10 หลายเดือนก่อน

    For sure, that is the best explanation about this subject ever. You saved hours of searching time. Thanks a lot. :)

  • @tejasatyanarayana
    @tejasatyanarayana 11 หลายเดือนก่อน +3

    I never thought it could be my cloud providers mistake
    I am finally able to connect to my VM Thank you

    • @codewithsusan
      @codewithsusan  11 หลายเดือนก่อน +1

      Glad you got it sorted out!

  • @yutigi
    @yutigi ปีที่แล้ว +1

    Thank you for guiding us Susan.

  • @hiddenpcmaster
    @hiddenpcmaster ปีที่แล้ว

    Best clear, concise explanation on the internet! Thank you!

  • @sergiomancera9225
    @sergiomancera9225 ปีที่แล้ว +1

    Very helpful. Thank you for making these troubleshooting guides for servers. Greetings from México!!

  • @donlee9193
    @donlee9193 ปีที่แล้ว

    You know. I usually don't like videos much. But you solved a problem that was making me frustrate. Thank you

  • @gwenaellebourhis976
    @gwenaellebourhis976 ปีที่แล้ว +1

    Thanks Susan for this really clear video !

  • @caesare1968
    @caesare1968 3 หลายเดือนก่อน

    Excellent article, I had been looking for this for days, thanks a lot

  • @selehadinseid2958
    @selehadinseid2958 ปีที่แล้ว

    thank you you have no idea how much time it toke but after trying every thing I have seen your video it was vary clear and straight forwarded it was help full.

    • @codewithsusan
      @codewithsusan  ปีที่แล้ว

      You're welcome - glad you found it helpful!

  • @PKASIMARK
    @PKASIMARK ปีที่แล้ว

    Much love from Kenya. I found this so helpful!

  • @OrangeHat21
    @OrangeHat21 ปีที่แล้ว

    Wonderful job Susan! You just saved my life! Thank you!

  • @mandeepmails
    @mandeepmails 2 ปีที่แล้ว +1

    Very helpful video. Thanks Susan.

  • @rupeshkl892
    @rupeshkl892 ปีที่แล้ว +1

    Step by step instructions, which is required for a beginner and that is what you have take us through. Thank you and will follow you..!! HIGH FIVE🤟👏

  • @_devdoug
    @_devdoug 11 หลายเดือนก่อน +1

    Thanks Susan, you help me a lot your last method. Greetings from Brazil.

    • @codewithsusan
      @codewithsusan  11 หลายเดือนก่อน

      Glad it helped!

  • @f1aziz
    @f1aziz ปีที่แล้ว

    Thank you. Adding my current pub key fixed the issue.
    Note to anyone using Proxmox Hypervisor for VMs: We can inject ssh keys into the vm, through the Cloud-init option.

  • @spot1401
    @spot1401 ปีที่แล้ว

    This helped me a bunch since both on my phone (termux) and my laptop, there was no config file generated. One file, one line -- solved. Thank you :)

  • @hemathkumar4040
    @hemathkumar4040 4 หลายเดือนก่อน

    Susan its wonderfull explanation.
    My circleci CICD integration successfully done.

  • @RamakrishnaT-s3h
    @RamakrishnaT-s3h ปีที่แล้ว +1

    nice explanation

  • @ghulamzilani237
    @ghulamzilani237 25 วันที่ผ่านมา

    It's a very useful vedio those who have facing permission denied error. Thank you very much Ma'am

  • @evisiongroup24
    @evisiongroup24 ปีที่แล้ว

    Thank you. It helped a lot. It just worked as expected

  • @MajesticaYEH
    @MajesticaYEH ปีที่แล้ว +1

    Thank you. Awesome Job 🎉

  • @ahmeedev
    @ahmeedev ปีที่แล้ว

    A bundle of thanks, you saved my time. Carry on helping the community ma'am. Best of luck 🤞

  • @ofabiosm
    @ofabiosm ปีที่แล้ว

    thats the best video on the entire internet, thank you!

  • @fejiobbdo
    @fejiobbdo 2 ปีที่แล้ว +2

    absolute lifesaver, thanks a lot

  • @Raventice
    @Raventice 3 หลายเดือนก่อน

    Thank you so much this tutorial helped me debug my project and with how long I've been stuck on it I was starting to lose it 😭❤

  • @Bobapartea
    @Bobapartea ปีที่แล้ว +1

    This was soooo helpful! Thank you so much!

  • @diceman2k8
    @diceman2k8 หลายเดือนก่อน

    Thanks Susan! This was very helpful

  • @laurelineparis5407
    @laurelineparis5407 ปีที่แล้ว

    Great video, explanation.
    Concise and accurate.
    Thanks for sharing such content🙌

  • @alexyapyap74
    @alexyapyap74 ปีที่แล้ว +1

    thank you very much for a very good explanation!

  • @mamotivated
    @mamotivated 8 หลายเดือนก่อน

    This was a very useful video btw. Editing the config file helped me to solve my issue on runpod. Thanks

  • @rothadapravith7657
    @rothadapravith7657 ปีที่แล้ว +1

    Glad I found this solution

  • @muzikmyke3008
    @muzikmyke3008 2 ปีที่แล้ว

    Best video I've found. Thank you! Fixed my issue.

  • @shahidkhan-saladguy
    @shahidkhan-saladguy 9 หลายเดือนก่อน

    Love you Susan.... I was struggling since 3 days thanks alot

    • @codewithsusan
      @codewithsusan  9 หลายเดือนก่อน

      Glad the struggle is over :)

  • @gabrielpatrick6923
    @gabrielpatrick6923 11 หลายเดือนก่อน

    This is very helpful, well articulated.

  • @vijetakumar7347
    @vijetakumar7347 ปีที่แล้ว

    Great explanation. Fixed my same issue with clear understanding.

    • @codewithsusan
      @codewithsusan  ปีที่แล้ว

      Glad it was helpful; thanks for watching.

  • @saviouressien1317
    @saviouressien1317 ปีที่แล้ว

    Awesome, clear and concise tutorial.

  • @sinalisuvinya4330
    @sinalisuvinya4330 8 หลายเดือนก่อน +1

    Thank you so much I owe you my degree!!!!much love

  • @delesoft
    @delesoft ปีที่แล้ว +1

    Thank you, great content.

  • @EsDlite
    @EsDlite 3 หลายเดือนก่อน

    Finally a video with a voice over!

  • @bilalabbaszaidi
    @bilalabbaszaidi ปีที่แล้ว

    Very well explained. Thank you

  • @datboyblu3
    @datboyblu3 ปีที่แล้ว

    Easy explanation, thank you!

  • @lajeferrario
    @lajeferrario ปีที่แล้ว +1

    Great video! Thanks

  • @muhamadridwanfirdaus2832
    @muhamadridwanfirdaus2832 ปีที่แล้ว +1

    Thanks its clear step and helpful to solve my issue

  • @harikrishna3258
    @harikrishna3258 ปีที่แล้ว

    Thank You very much Susan! It helped me fix the issue

  • @SanthoshHugar
    @SanthoshHugar ปีที่แล้ว

    Very well explained. Thanks. It helped me.

  • @am7-p
    @am7-p ปีที่แล้ว

    Thank you for the step by step guide

  • @pablocosta7181
    @pablocosta7181 ปีที่แล้ว +2

    thanks sussan!!!

  • @avaneeshthakurrana1264
    @avaneeshthakurrana1264 2 ปีที่แล้ว

    Thanks a ton for the detailed information ❤

    • @codewithsusan
      @codewithsusan  2 ปีที่แล้ว

      No problem. Thanks for watching Avaneesh!

  • @2u841r
    @2u841r 5 หลายเดือนก่อน

    very well explained. thank you so much

  • @cassius.giorgio
    @cassius.giorgio ปีที่แล้ว

    Awesome and very clear, thanks for sharing your acknowledgement

  • @LumenVigil
    @LumenVigil ปีที่แล้ว

    Great Video thanks Susan

  • @mariasolgonzalez4786
    @mariasolgonzalez4786 ปีที่แล้ว

    Thank u so much!!! It was very helpful ;)

  • @WoLFyy2009
    @WoLFyy2009 ปีที่แล้ว +1

    thanks susan that was helpful

  • @SR-fi8ef
    @SR-fi8ef ปีที่แล้ว

    Thank you, great content and very helpful.

  • @upworkprofilevideonoorulam440
    @upworkprofilevideonoorulam440 ปีที่แล้ว

    nice explanation. Thanks

  • @greymatters2965
    @greymatters2965 ปีที่แล้ว +2

    Glad I found this

  • @sandeepupadhayay7145
    @sandeepupadhayay7145 ปีที่แล้ว

    Thanks for the solution

  • @Burakdagl
    @Burakdagl ปีที่แล้ว

    very helpful , thank you so much

  • @christiancornel4636
    @christiancornel4636 ปีที่แล้ว

    Thank you for this one. now i understand how SSH to be fixed

  • @TheNerdEngineer1
    @TheNerdEngineer1 ปีที่แล้ว

    Best! save my day. Thanks.

  • @marwaka
    @marwaka ปีที่แล้ว +1

    This is helped me a lot

  • @thegoodlifewatch
    @thegoodlifewatch หลายเดือนก่อน

    when i open the .ssh from the server, my public key is already there, but i still get access denied.

  • @gilbertintabo160
    @gilbertintabo160 ปีที่แล้ว

    this was a great explanation

  • @stefwill
    @stefwill 2 ปีที่แล้ว

    Interesting authorisation method for notes access :)

    • @codewithsusan
      @codewithsusan  2 ปีที่แล้ว +2

      Seems like a fair exchange for free content, no? : )

  • @biogfp9340
    @biogfp9340 2 ปีที่แล้ว

    Thank you!!! This solved my issue.

  • @nilsongomez7827
    @nilsongomez7827 3 หลายเดือนก่อน

    Hello, I have been trying to access the SSH through a VPS to configure wireguard but I am getting an error message, Permission denied (Publickey,password)
    I have checked if the keys are a match and they are. Don’t know what to do.

  • @ruqsaysfaraway
    @ruqsaysfaraway ปีที่แล้ว

    thank you this is so helpful

  • @clippedbythesecond
    @clippedbythesecond ปีที่แล้ว

    hi im confused at 11:39 minutes where you got your username from?

    • @codewithsusan
      @codewithsusan  ปีที่แล้ว

      It's the default user the server came set up with from my server provider. Many servers have a "root" admin user you can connect as. Sometimes though, you can't directly connect to a server as root for security purposes, but that's not the case on this server. When you set up a server, they should give you information on what default user it is set up with so you can connect as that user.

  • @acoustic7skate
    @acoustic7skate ปีที่แล้ว

    this was what I needed. thank you!

  • @mahmoudtimoumi9061
    @mahmoudtimoumi9061 ปีที่แล้ว

    big thanks to you , You relay helped me

  • @MarcosMGCN
    @MarcosMGCN ปีที่แล้ว

    Nice! Thanks for the help :)

  • @SamanyuKaushik
    @SamanyuKaushik ปีที่แล้ว

    amazing video and notes

  • @SCSUSEGroupPizzaProject
    @SCSUSEGroupPizzaProject ปีที่แล้ว

    Perfect, great video!

  • @redneckcommie
    @redneckcommie 2 หลายเดือนก่อน

    so what if there's just nothing listed in my authorized_keys directory?

  • @Dani-up4jn
    @Dani-up4jn ปีที่แล้ว +1

    saved me

  • @VolodymyrHorobets-h1u
    @VolodymyrHorobets-h1u 4 หลายเดือนก่อน

    Thank you! you saved my time !!!

  • @sequelman8997
    @sequelman8997 2 ปีที่แล้ว

    Subscribed, great channel

  • @abhishekmore6886
    @abhishekmore6886 ปีที่แล้ว +1

    thanks a lot !!!

  • @abdidahir2293
    @abdidahir2293 ปีที่แล้ว +1

    great job

  • @nicolascuestaquintero9708
    @nicolascuestaquintero9708 2 ปีที่แล้ว

    Outstanding video

  • @ikhwanulabiyu6325
    @ikhwanulabiyu6325 ปีที่แล้ว

    nice explanation!

  • @kidfame5149
    @kidfame5149 7 หลายเดือนก่อน +1

    Only God can bless you me😭I was half fustrated😭❤

  • @vishalsawai
    @vishalsawai 2 หลายเดือนก่อน

    Thanks you issue fixed 😊

  • @mcfincher29
    @mcfincher29 6 หลายเดือนก่อน

    This saved me a lot of frustration. I couldn't find anything on google describing my issue, but I was missing the config file in ~/.ssh... Problem solved. Thank you so much

  • @MahdiKh-i2f
    @MahdiKh-i2f 10 หลายเดือนก่อน

    Worked!
    Thanks♥︎

  • @TechnoBeee
    @TechnoBeee 2 ปีที่แล้ว

    Thanks so much!

  • @mbodeomo
    @mbodeomo ปีที่แล้ว

    what if after checking the config file and the IdentityFile is pointing to the right key, but after running verbose you see that it is the default id_rsa key that is being picked up?

    • @codewithsusan
      @codewithsusan  ปีที่แล้ว

      You can attempt the SSH connection by explicitly specifying which key to use. This will confirm/deny the key you are trying to use is functioning.
      The command to do that is:
      ssh -i ~/.ssh/your-key your-username@your-server-ip
      If that succeeds you know the key is not the problem, but there is some problem with your SSH config or how the key was added to the config.
      If it fails, you know it's a problem with the key.
      Feel free to follow-up with what you find and I can continue to help you troubleshoot.

  • @ClashRoyale-pt9zj
    @ClashRoyale-pt9zj ปีที่แล้ว +1

    thanks a lot!!! i was with trouble cause of custom name: i hadn't had a config file on my .ssh dir on windows with "IdentityFile [path-to-private-key]". THANK YOU