Setting up SSH Keys on Windows using PuttyGen

Поделиться
HTML-код
  • Опубликовано: 14 ноя 2017
  • In this video, I show you how to setup SSH Keys in Windows with PuttyGen. This allows you to connect to your linux server without having to authenticate with a password. I hope you guys Enjoy!
    Putty Download Website
    www.chiark.greenend.org.uk/~s...
    Putty:
    32bit: the.earth.li/~sgtatham/putty/...
    64bit:the.earth.li/~sgtatham/putty/...
    PuttyGen:
    32bit:the.earth.li/~sgtatham/putty/...
    64bit:the.earth.li/~sgtatham/putty/...
    Setup Fast, Cheap, and Reliable SSD Servers using my Referral Link
    VultrVPS: bit.ly/DEkTeNVultr
    Digital Ocean: bit.ly/DEkTeNDigitalOcean
    Click the SUBSCRIBE button to stay updated and get notified when I post a new video.
    /-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/
    Follow me on Twitter: / donovan_choa
    Follow me on instagram: / donovan_choa
    Friend me on steam: steamcommunity.com/id/ImDEkTeN/
    G2A.com: www.g2a.com/r/dekten
    Kinguin.net: www.kinguin.net/r/DEkTeN
  • РазвлеченияРазвлечения

Комментарии • 59

  • @braydenclark2406
    @braydenclark2406 2 года назад +5

    This is so much better than the link my professor provided. I rarely comment, but I have to comment on this one just to express how thankful I am. Thanks a lot man!

  • @AllenAndersonTaylor
    @AllenAndersonTaylor 4 года назад +5

    You're the man dude. Thanks so much. I was getting tired of typing my PW every time for my VM.

    • @DEkTeN
      @DEkTeN  3 года назад

      You're Welcome. That's also the main reason why I started to use Keys for Authentication.

  • @TheSteveo909
    @TheSteveo909 Год назад +1

    thanks dude! had a university module on Linux administration and was hitting a brick wall with the SSH stuff as i've never done it before and was not told I had to go into the config file and uncomment certain things for it to work so this explained why that was going wrong for me too haha. Nice and simple and shown everything needed to see how it works. Brilliant thank you!

    • @NakaimaAikidoklubb
      @NakaimaAikidoklubb Месяц назад

      they don't want you to learn the secret... they want to stay the only experts in town

  • @latviariga4935
    @latviariga4935 5 лет назад +4

    My god. Finally. I spent the whole day trying to figure this one out. Who could have imagined that after generating the public and private keys with puTTY you need to throw out your public key and get a new one after loading the old private key.. Makes no sense.. but it worked. :)

    • @henoksamuel1106
      @henoksamuel1106 2 года назад +1

      What

    • @latviariga4935
      @latviariga4935 2 года назад +1

      @@henoksamuel1106 I didn't know it at the time, but unlike ssh-keygen utility on linux terminal, puTTY when creating a key pair uses a different format for the public key, for it to be used in a ssh connection through the terminal or mysql workbench. As I remember that was the problem

  • @ThriLLzd
    @ThriLLzd 3 года назад +3

    Simple and great tutorial. Good job!

    • @DEkTeN
      @DEkTeN  2 года назад +1

      Thanks for the support, I appreciate it.

  • @manueljordan317
    @manueljordan317 2 года назад +1

    Huge thanks for this video!

  • @jotaerre6079
    @jotaerre6079 Год назад

    Thank so much man!! your explanation save me!

  • @michalroesler
    @michalroesler 2 года назад

    Great tutorial. It all worked 4 me just fine. 😎

  • @GaneshSingh1
    @GaneshSingh1 3 года назад

    Bro ,, you don't know how much i suffered bcz of this problem at least more than 4 hours by finding solutions on google but nothing helped . and your solution saved me :) Thanks a lot bro ,, keep it your amazing work again thanks

  • @suchirasandaruwan9633
    @suchirasandaruwan9633 4 года назад

    Thanks dude!!! It works perfect...

  • @ThiiLp
    @ThiiLp 5 лет назад +1

    Nice, Thanks man!

  • @yanluisnunezlara319
    @yanluisnunezlara319 2 месяца назад +1

    😂 I am very grateful, thank you so much.

  • @proturguenev1820
    @proturguenev1820 4 года назад

    it works, thanks!

  • @theevilapple_
    @theevilapple_ Год назад

    Thanks, it helped a lot.

  • @everythingquads
    @everythingquads Год назад +1

    Couple of point to note, you don't need sudo to create the authorized_keys file if logged in as user, also you need to chmod the .ssh directory to make it readable by the user only.

  • @pixelfound
    @pixelfound Год назад

    Thank you so much!

  • @jhonnyguamanrivera6415
    @jhonnyguamanrivera6415 5 лет назад

    Thanks, all fine!

  • @darianaorlova2405
    @darianaorlova2405 3 года назад

    Thanks, it's working

    • @DEkTeN
      @DEkTeN  3 года назад

      Awesome. Glad I could help you.

  • @MohsenAYN
    @MohsenAYN 2 года назад

    Awesome!!!

  • @MohdAsifShah
    @MohdAsifShah Год назад

    Thank you 👍

  • @altamashsabri8142
    @altamashsabri8142 Год назад

    Thanks a lot

  • @Nearco1000
    @Nearco1000 4 года назад +1

    Tks bud....!!!

    • @DEkTeN
      @DEkTeN  4 года назад

      You are welcome. Glad I was able to help

  • @weansley1086
    @weansley1086 2 года назад

    Thanks Bro !

    • @DEkTeN
      @DEkTeN  2 года назад

      No Problem! Glad I could help.

  • @shanerussell86
    @shanerussell86 4 года назад

    Thank you

  • @Skaxarrat
    @Skaxarrat 5 месяцев назад

    Stellar

  • @sokoloft3
    @sokoloft3 3 года назад

    There we go. Got mine setup. Tested it on my laptop first. I kept adding the auth key and loading the old config to connect and it'd error. Had to load the old preset, add the auth key and then save the preset and connect.

  • @jishnunkrishnan5783
    @jishnunkrishnan5783 4 года назад

    How do i get appid, client key and server link, can u please explain?

  • @saikumar-us5qh
    @saikumar-us5qh 4 года назад

    "Server refused public-key signature despite accepting key!" error message appered please help me

  • @sarunasmusteikis6742
    @sarunasmusteikis6742 Год назад

    Hey, some of the command doesnt work for me. sudo apt install nano, nothing happening they write unable...

  • @LouisdeCaumont
    @LouisdeCaumont 8 месяцев назад

    I don't have server, i just want to clone my repo... How to do it ? Or how to do like you at 2:07 ? thanks in advance

  • @ThriveWithLouise
    @ThriveWithLouise 6 месяцев назад

    everything i do says access denied access denied for password, i then tried to setup an ssh key to login says it refused it. its a fucking nightmare not knowing these technical terms and code, im learning but at the same time still need to build my website, i cant even login right now

  • @editstudent2437
    @editstudent2437 5 лет назад

    i cant edit that vim /etc/ssh/sshd_config

    • @DEkTeN
      @DEkTeN  5 лет назад

      Have you ensured that you are used root privileges (logged in as root or using the SUDO command) and that you have openssh-server package installed?

    • @editstudent2437
      @editstudent2437 5 лет назад

      ​ DEkTeN yeah it works i made a mistake i didn't realized that i have to use DEL. Thank you verry much

  • @debojitmandal8670
    @debojitmandal8670 2 года назад

    That's the problem how do I copy to the server when i cannnot open the server ad i get the promt
    No supported authentication methods available(server sent: public key)

  • @AykutA
    @AykutA Год назад

    SSh>Auth i havent Browser button ?

  • @freefireshorts4126
    @freefireshorts4126 4 года назад +1

    Does ssh key expires?

    • @DEkTeN
      @DEkTeN  4 года назад

      No they do not. They only stop working when they revoked, aka deleted from the authorized_keys file

    • @freefireshorts4126
      @freefireshorts4126 4 года назад

      @@DEkTeN How to fix and how can ssh key be reused? Can You explain me.

    • @freefireshorts4126
      @freefireshorts4126 4 года назад

      @@DEkTeN Do you have discord? If yes, then send me ur id so i could ask you few question related to it and please help me.

    • @DEkTeN
      @DEkTeN  4 года назад

      @@freefireshorts4126 Sure thing. If you would like. Go ahead and post all your questions into one comment and I can address them in a video really soon. Maybe get that you to you by tomorrow evening.

    • @freefireshorts4126
      @freefireshorts4126 4 года назад

      @@DEkTeN Ok, I have ssh key for a year and has ip for 1 year too. I had make aws account of ubuntu. So taught us how to renew ip and server key (ssh key) in your next video!

  • @jorgfaschingbauer2152
    @jorgfaschingbauer2152 3 года назад

    Why the hell are you using sudo to edit the user's authorized_keys file? Remember: sudo stands for "SUperuser DO", and it executes the command (nano in your case) as ROOT.
    That file is owned by you@box, you just created it two seconds ago, using "touch authorized_keys". Out of respect for your followers, please take another turn and learn Unix permissions (not so hard), and then edit the video.

    • @ironnerd2511
      @ironnerd2511 2 года назад

      Here as a newbie trying to understand the implications of your statement.
      So, since the .ssh folder is in the user's home directory, and he is logged in as the user, he as the owner has sufficient privileges to use nano to edit the authorized_keys file. Using sudo would be a huge inconsistency.
      Is that it?
      You know what?
      I really appreciate your comment. Motivates me to dig a little deeper into the subject. Best of luck to you.

  • @chrs-wltrs
    @chrs-wltrs 5 лет назад

    "server refused our key" :/
    plus this guide is pretty difficult to follow unless you're already running linux
    correction, this guide is *useless* unless you're trying to connect to a windows machine

    • @saintcosby2216
      @saintcosby2216 3 года назад

      yeah doesnt work for me :(

    • @donaldiro5398
      @donaldiro5398 2 года назад

      I was looking for means to generate an ssh public key to add to my github profile.
      At first, it all seemed to work great until he started logging in and i have no idea what to do next on my windows.

  • @h1ghpower
    @h1ghpower Год назад

    Can I simply add the new key code for another user in the same file within the server? I've tried pasting 2 key codes over there.. but when I try to login it says "server refused our key" :( Can someboduy help?

  • @mohammadmustaqaliqadri2396
    @mohammadmustaqaliqadri2396 10 месяцев назад

    Thanks alot