Setting up SSH Keys on Windows using PuttyGen

  Рет қаралды 145,053

DEkTeN

DEkTeN

6 жыл бұрын

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 жыл бұрын
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 жыл бұрын
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 Жыл бұрын
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 2 ай бұрын
they don't want you to learn the secret... they want to stay the only experts in town
@manueljordan317
@manueljordan317 2 жыл бұрын
Huge thanks for this video!
@ThriLLzd
@ThriLLzd 3 жыл бұрын
Simple and great tutorial. Good job!
@DEkTeN
@DEkTeN 2 жыл бұрын
Thanks for the support, I appreciate it.
@jotaerre6079
@jotaerre6079 Жыл бұрын
Thank so much man!! your explanation save me!
@michalroesler
@michalroesler 2 жыл бұрын
Great tutorial. It all worked 4 me just fine. 😎
@latviariga4935
@latviariga4935 5 жыл бұрын
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 жыл бұрын
What
@latviariga4935
@latviariga4935 2 жыл бұрын
@@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
@suchirasandaruwan9633
@suchirasandaruwan9633 4 жыл бұрын
Thanks dude!!! It works perfect...
@ThiiLp
@ThiiLp 5 жыл бұрын
Nice, Thanks man!
@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
@everythingquads
@everythingquads Жыл бұрын
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.
@yanluisnunezlara319
@yanluisnunezlara319 3 ай бұрын
😂 I am very grateful, thank you so much.
@theevilapple_
@theevilapple_ Жыл бұрын
Thanks, it helped a lot.
@proturguenev1820
@proturguenev1820 4 жыл бұрын
it works, thanks!
@pixelfound
@pixelfound Жыл бұрын
Thank you so much!
@jhonnyguamanrivera6415
@jhonnyguamanrivera6415 5 жыл бұрын
Thanks, all fine!
@MohsenAYN
@MohsenAYN 2 жыл бұрын
Awesome!!!
@darianaorlova2405
@darianaorlova2405 3 жыл бұрын
Thanks, it's working
@DEkTeN
@DEkTeN 3 жыл бұрын
Awesome. Glad I could help you.
@MohdAsifShah
@MohdAsifShah Жыл бұрын
Thank you 👍
@saikumar-us5qh
@saikumar-us5qh 4 жыл бұрын
"Server refused public-key signature despite accepting key!" error message appered please help me
@Nearco1000
@Nearco1000 4 жыл бұрын
Tks bud....!!!
@DEkTeN
@DEkTeN 4 жыл бұрын
You are welcome. Glad I was able to help
@altamashsabri8142
@altamashsabri8142 Жыл бұрын
Thanks a lot
@shanerussell86
@shanerussell86 4 жыл бұрын
Thank you
@Skaxarrat
@Skaxarrat 5 ай бұрын
Stellar
@weansley1086
@weansley1086 2 жыл бұрын
Thanks Bro !
@DEkTeN
@DEkTeN 2 жыл бұрын
No Problem! Glad I could help.
@jishnunkrishnan5783
@jishnunkrishnan5783 4 жыл бұрын
How do i get appid, client key and server link, can u please explain?
@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.
@sarunasmusteikis6742
@sarunasmusteikis6742 Жыл бұрын
Hey, some of the command doesnt work for me. sudo apt install nano, nothing happening they write unable...
@LouisdeCaumont
@LouisdeCaumont 9 ай бұрын
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 7 ай бұрын
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
@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 ?
@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
@freefireshorts4126
@freefireshorts4126 4 жыл бұрын
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 11 ай бұрын
Thanks alot
Setting Up SSH Keys
21:02
Nerd on the Street
Рет қаралды 42 М.
Задержи дыхание дольше всех!
00:42
Аришнев
Рет қаралды 3,6 МЛН
Summer shower by Secret Vlog
00:17
Secret Vlog
Рет қаралды 12 МЛН
A teacher captured the cutest moment at the nursery #shorts
00:33
Fabiosa Stories
Рет қаралды 45 МЛН
SSH To Windows Using Public Key
13:40
William Campbell
Рет қаралды 72 М.
How to create a SSH KeyPair using Putty Key Generator
8:45
NamrataHShah
Рет қаралды 27 М.
SSH Key Authentication | How to Create SSH Key Pairs
18:46
Akamai Developer
Рет қаралды 112 М.
OpenSSH is about to change. (For the better.)
10:00
Veronica Explains
Рет қаралды 139 М.
Generate SSH keys for Windows -  Secure Shell Easy Way
6:30
williamsk
Рет қаралды 27 М.
Key Authentication for PuTTY and WinSCP
37:26
Tech Tutorials - David McKone
Рет қаралды 14 М.
SSH Keys
10:12
RobEdwards
Рет қаралды 107 М.
Easily setup PuTTY SSH keys for passwordless logins using Pageant
9:53
Brian Smith's Linux/AIX Videos
Рет қаралды 184 М.
Generate GitLab SSH Keys & setup SSH on GitLab
14:32
Cameron McKenzie
Рет қаралды 10 М.
Waka waka 🤣 Which video is the best 1,2,3,4? 🤩
0:13
Adani Family
Рет қаралды 4,8 МЛН
Вся страна в очередях, а ты без очереди...
0:52
МиRRные Чувства
Рет қаралды 6 МЛН
Gymrat CAT is a CHEATER?! 🙀 #kitten #cat #cute #aicat
0:45
Stunning Cat Stories
Рет қаралды 30 МЛН
Smart Sigma Kid #funny #sigma #comedy
0:40
CRAZY GREAPA
Рет қаралды 8 МЛН