Тёмный

How to use SSH Public Key authentication 

Average Linux User
Подписаться 101 тыс.
Просмотров 122 тыс.
50% 1

SSH keys provide a simple and yet extremely secure way to connect to a remote computer or a server.
You can get $25 at UpCloud to test SSH features: upcloud.com/signup/?promo=alu25
In this video, you will learn:
0:41 Why use SSH keys
1:23 How to create SSH keys
2:14 What’s the difference between private and public keys
2:45 How to add SSH keys to a remote computer
5:18 How to disable password login and allow only the SSH key login
6:35 How to use SSH keys for password-less login
7:19 How to use SSH authentication agent and avoid typing you ssh key passphrase many times
The commands are available at averagelinuxuser.com/how-to-u...
How to Set up a Virtual Private Server • Virtual Private Server...
How to install SSH keys • How to install and use...
All Linux Server tutorials • Linux Server tutorials
Tags: #SSH #UpCloud #AverageLinuxUser
################################################
Website: averagelinuxuser.com/
Facebook: / averagelinuxuser
Twitter: / avglinuxuser

Опубликовано:

 

8 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 60   
@IgnoreMyChan
@IgnoreMyChan 5 лет назад
Be aware that ssh-keygen by default uses the old RSA alchorithm. It's advised to switch to the newer ED25519. You can generate a more secure keypair with this command: _ssh-keygen -o -a 100 -t ed25519_ Here with -o we specify to ssh-keygen that we want the new key format. -a sets the number of encryption rounds to 100 to make it much harder to brute force. Finally with -t we set the format to ed25519. The default path is ~/.ssh/id_ed25519 for the key and ~/.ssh/id_ed25519.pub for the public key. Stay safe! :-)
@h.i.1359
@h.i.1359 5 лет назад
Unless you're a "stable" distro user, openssh has been using new format for all keys since v7.8. In fact, to use old PEM format you would have to explicitly specify it with -m and -o is not a valid option anymore. Also, ed25519 uses new format only.
@AQEEL116
@AQEEL116 4 года назад
I was struggling to solve my ssh connection issue from last 1 week almost may e more than that and you solved it..May God Bless You ..
@mehrshadsaeidi5497
@mehrshadsaeidi5497 11 месяцев назад
Very straight forward and clear, explained in a short amount of time
@sarahduong2265
@sarahduong2265 4 года назад
Although I haven't watched the entire Video but: - The plus point for the video here is that I use relatively standard language, even though I'm not fluent in English. Because of my poor English, I had to use subtitles for the Video and it was translated into my language very properly and fully. - Minus point in this Video is a quick guide. This Video content is for beginners to learn about SSH. Unfortunately. *** But this is my own comment. Your video is only 8 minutes, but I have to watch it for nearly 2 hours. _ * Thanks anyway for sharing it for free. And I clicked "Like" for you. Thanks you
@byranotieno
@byranotieno 4 года назад
Thank you. I have learnt a new thing today!
@alexherget
@alexherget 5 лет назад
Very clear video. I find that ssh key stuff sometimes is hard to understand for some. Your video does an excellent job in explaining all.
@AverageLinuxUser
@AverageLinuxUser 5 лет назад
I also was confused by public and private keys when I read about them the first time. Everything becomes clear after you use it for some time
@BrunoSantos-zy2fu
@BrunoSantos-zy2fu 5 лет назад
You teach us so much about everything related to linux thank you so much
@AverageLinuxUser
@AverageLinuxUser 5 лет назад
Thank you for watching and leaving comments
@MrWARRIORMONKS
@MrWARRIORMONKS 5 лет назад
Love your videos as always. I gotta try this upcloud server asap, thanks!
@AverageLinuxUser
@AverageLinuxUser 5 лет назад
Thanks. Give it a try. It's pretty good.
@hershhiwa6633
@hershhiwa6633 Год назад
thank you so much this was so informative
@TheeTabla
@TheeTabla 4 года назад
Great to the point Videos ! Bless You..
@scottlinovitz2880
@scottlinovitz2880 5 лет назад
Another excellent, useful video, thanks again.
@AverageLinuxUser
@AverageLinuxUser 5 лет назад
My pleasure
@jordanalex8674
@jordanalex8674 3 года назад
Very helpful, thank you. My biggest issue is that every time I copied my public key to the server, it would also copy my client username, and the linux machine would think that that was part of the key, so it would always lock me out! Lol
@msurajnair7149
@msurajnair7149 3 года назад
This tutorial is very fascinating, it helped me a lot, Thank you. I have one doubt, Can a single ssh public and private key be used for authentication on multiple agents/nodes/remote servers?
@MarcusBiesioroff
@MarcusBiesioroff 3 года назад
Where you were years ago? :D Today I know the way perfectly, but several years ago when started it took me several hours to make it work vs. seconds now. Nice and... avarge vid ;) (avarge-pro of course :D)
@dimitristsoutsouras2712
@dimitristsoutsouras2712 4 года назад
I see you copy the key to the remote server from the client side. What if you create the keys from the server side. Do you still have to add the key to the server itself since the key already created there? Or in the case I am talking about you just copy the private key to the client (Client is the one to be used afterwards for remote access. Its just that installation of keys happening from the server side). PS Upon installation keys go different directory than the one they are created? Thank you
@majki5900
@majki5900 3 года назад
Great video! You made it much simpler, thank You :)
@AverageLinuxUser
@AverageLinuxUser 3 года назад
Thank you for watching and commenting
@thabosuswani3697
@thabosuswani3697 3 года назад
where are you supposed to create the ssh keys(both) from ? is it the client computer or remote computer
@inhazfahim8270
@inhazfahim8270 3 года назад
So much information in 8 mins thank you
@xGOKOPx
@xGOKOPx 5 лет назад
If I have a server with key-based login only and I want access from yet another machine, how can I add the other key? I can't just use ssh-copy-id because I can't authenticate without the key from the first machine
@PoohK-qb3mq
@PoohK-qb3mq 3 года назад
Thank you, so well explained. It solved my problem. :)
@poornimasridhar5011
@poornimasridhar5011 3 года назад
i was struggling with this issue.Thank u so much for this wonderful video...
@diegoramos27
@diegoramos27 3 года назад
Hi Sir, why does HTTPS do the reverse process ? It keeps private key in the server and shares public key with browser, thanks
@severtone263
@severtone263 3 года назад
Thank you. Great video mate!
@aleemshaikh5098
@aleemshaikh5098 4 года назад
6:14 facing this issue😭😭😭 (permission denied publickey) please answer
@deepankchauhan3684
@deepankchauhan3684 3 года назад
can a computer that is on a different network(connected to different wifi) use ssh to connect to my server which is on another wifi?
@GooogleGoglee
@GooogleGoglee 5 лет назад
Thank you for your amazing videos
@AverageLinuxUser
@AverageLinuxUser 5 лет назад
Thank you for watching
@bimaagungperwira1986
@bimaagungperwira1986 Год назад
if i send the key to remote host, can remote host connect to my computer? if yes, how to do it? thankyou
@balu00788
@balu00788 4 года назад
Thank you so Much :)
@stargategoku
@stargategoku 2 года назад
thanks a lot for posting!
@i_am_ur_manager7673
@i_am_ur_manager7673 4 года назад
I need to put my public adress or local ip adress
@mymail333g
@mymail333g 4 года назад
Греат сенк виз май лав фром май хард )))
@itsm3dud39
@itsm3dud39 Год назад
can someone bruteforce and find passphrase of a private key?
@cristiansalasduran1
@cristiansalasduran1 2 года назад
Work tutorial in Windows ssh?
@ronnierush9379
@ronnierush9379 4 года назад
Great ~> You teach very clear instructions. Thank You :-)
@emon6902
@emon6902 3 года назад
thank you so much
@AverageLinuxUser
@AverageLinuxUser 5 лет назад
You can get $25 at UpCloud to test SSH features: upcloud.com/signup/?promo=alu25 0:41 Why use SSH keys 1:23 How to create SSH keys 2:14 What’s the difference between private and public keys 2:45 How to add SSH keys to a remote computer 5:18 How to disable password login and allow only the SSH key login 6:35 How to use SSH keys for password-less login 7:19 How to use SSH authentication agent and avoid typing you ssh key passphrase many times
@will-wowdk1930
@will-wowdk1930 4 года назад
are you romanian? I am trying to guess your country by your accent :D
@bobtailsquid
@bobtailsquid 5 лет назад
Thankyou
@AverageLinuxUser
@AverageLinuxUser 5 лет назад
Thanks for the comment
@anton-pavlov
@anton-pavlov 5 лет назад
And thank you! )
@AverageLinuxUser
@AverageLinuxUser 5 лет назад
Thank you too :)
@Balamutick
@Balamutick 3 года назад
Чувствуется славянин по акценту :-)
@ninecodemondayapisita.6884
@ninecodemondayapisita.6884 3 года назад
thankyouuu
@masterjez6906
@masterjez6906 4 года назад
Good it work
@priencecali2666
@priencecali2666 4 года назад
Hi
Далее
SSH Keys
10:12
Просмотров 103 тыс.
Linux Crash Course - Public Key Authentication
19:05
Просмотров 33 тыс.
Cabeças erguidas, galera! 🙌 Vamos pegá-la!
00:10
OpenSSH is about to change. (For the better.)
10:00
Просмотров 139 тыс.
SSH To Windows Using Public Key
13:40
Просмотров 71 тыс.
Goodbye Passwords! Hello Passkeys
10:29
Просмотров 74 тыс.
SSH Key Authentication | How to Create SSH Key Pairs
18:46
How Do I Create and Use Public Keys with SSH?
16:19
Просмотров 1,4 тыс.
OpenSSH for Absolute Beginners
23:00
Просмотров 100 тыс.
SSH Keys and Github
10:51
Просмотров 8 тыс.
Cabeças erguidas, galera! 🙌 Vamos pegá-la!
00:10