How to use Multiple SSH Keys | Managing Different SSH Keys on your System

  Переглядів 69,968

Akamai Developer

Akamai Developer

День тому

There’s a good chance you’ve been using SSH (Secure Shell) to access your Linode from your computer. In this video, we’ll cover how to generate and use SSH Key Pairs for easily and securely logging into your server.
Chapters:
0:00 Introduction
0:54 SSH Key Management
2:43 Create A New SSH Key
5:49 Removing a SSH Key
6:11 Creating a Specific Type of SSH Key
8:04 What is the Difference?
9:09 Creating Other Keys
9:58 Associating a Key to a Server
12:11 Connecting to a Server with a Specific Key
13:40 What is the SSH Agent?
14:57 Using the SSH Agent to Unlock the Key
16:54 Taking Our SSH Config to the Next Level
18:14 Connecting Without Specifying a Key
19:38 Quick Refresher
20:52 Conclusion
New to Cloud Computing? Get started here with a $100 credit → www.linode.com/lp/youtube-vie...
Read the doc for more information on Key Authentication → www.linode.com/docs/guides/us...
Learn how to troubleshoot SSH Permissions → www.linode.com/docs/guides/ss...
Subscribe to get notified of new episodes as they come out → ukposts.info?sub_co...
#Linode #SSH #Linux #AlternativeCloud
Product: Linode, SSH Keys, SSH Key Management; Jay LaCroix;

КОМЕНТАРІ: 46
@AngriestEwok
@AngriestEwok Рік тому
Today I just had to spend the afternoon learning this technology properly for the first time in my career. I've always been a (L)user of SSH without really understanding how to use it properly, and this helped fill in the blanks. Thanks.
@SteveWeltman
@SteveWeltman 3 місяці тому
THIS! This tutorial is the only one of the 4 that I looked at that talked about the 'config' file in the user's .ssh directory. Quite frankly a game changer. I am certain that there are security tradeoffs somewhere with this file but based on the person's system permissions for the directory (users are advised to use chown to their own user and group) and the chmod to 700 so it's reachable, its just enough info to make ssh-ing sessions a lot less arcane and context switch intensive looking for secure passwords or whatever. Using a modern ssh key format like ed25519 makes complete sense as well from a security and speed perspective. What a great tutorial! So glad you posted this.
@norithegoldendoodle8931
@norithegoldendoodle8931 Рік тому
Went through a quite a bit of tutorial flops before I found this gem. Thank you!
@NinjaBranDizzzle
@NinjaBranDizzzle 9 місяців тому
Explained flawlessly, thank you for this video
@oluwabusayoshofowora4372
@oluwabusayoshofowora4372 Місяць тому
Just so happy I found this. My headache is solved. Thanks.
@zigforjustice
@zigforjustice Рік тому
Literally needed to do this today and found this immensely helpful
@rogerwprice
@rogerwprice 2 роки тому
This is super useful - thanks. Love that you explain things STEP BY STEP with increasing sophistication
@dodi981
@dodi981 2 роки тому
Not only gifted with Linux but also in teaching and explaining. Really appreciate it. I had several domestic servers. Just moved to linofe and paid for my first server.
@mdjuhaeradittya
@mdjuhaeradittya 8 місяців тому
Thanks a lot! Very helpful.
@AndreReisAndrecsreis
@AndreReisAndrecsreis 2 місяці тому
Thank you a lot for this video! I spent a couple hours trying to figure it out why my others ssh keys were not working.
@MerleCox
@MerleCox 2 роки тому
As a content creator I must say, your video's are well done, easy to follow, and very useful!
@nelke.michael
@nelke.michael Рік тому
Amazing. Thank you so much!
@armannataee5711
@armannataee5711 9 місяців тому
thanks for very usefull lesson
@agaroui
@agaroui 2 місяці тому
thanks a lot very helpful !!!
@user-rn5em8pm4w
@user-rn5em8pm4w 2 місяці тому
Great video !!!
@rexby
@rexby 2 місяці тому
18:11 When closing the terminal, the ssh-agent does not close. You can simply export the two environment variables (SSH_AUTH_SOCK and SSH_AGENT_PID) from the previous terminal and everything will work the same way.
@hamidja1537
@hamidja1537 Рік тому
Thanks for sharing
@Efim88
@Efim88 2 роки тому
Thank you for such a useful guide! I have another issue, I have 3 PCs (home, work, laptop) and I need to have access to my server from all my workplaces. Is it better to duplicate them or should I generate new ones for all PCs?
@bin4rym4ge
@bin4rym4ge Рік тому
Thanks and God bless.
@xm6250
@xm6250 4 місяці тому
You are the Gigachat of linux explanations.
@KarlBrouillette
@KarlBrouillette 6 місяців тому
I've seen a lot of your content, very well done. I have a question on this topic, is there a way on Windows to setup my .ssh keys as you've demonstrated on your Linux client?
@javaboy6581
@javaboy6581 Рік тому
Wow, very good explanation! How can combine ssh key with two factor? Can I use together?
@ricko13
@ricko13 Рік тому
awesome 💪 didn't know about the ed25519 key type
@y2kenh
@y2kenh Рік тому
wished it was called ed209
@seven6586
@seven6586 Рік тому
Hi, do you create a separate key for every server or for every user on a server as well? thanks
@balajimarisetti4245
@balajimarisetti4245 2 роки тому
topclass
@comprofix
@comprofix 2 роки тому
ACME - Classic cartoon company that Wile E. Coyote would get all his good from to capture Road Runner Shinra - I had too Google. Either Fire Force or Final Fantasy 7 Skynet - AI from Terminator
@JuniorReveron
@JuniorReveron 2 місяці тому
Acme is from Looney Tunes where Coyote order everything, Shinra is from Final Fantasy VII is the Malevolent Corporation and Skynet is from The Terminator the evil computer system from the future.
@flaviomoreira01
@flaviomoreira01 Рік тому
Is it really necessary to run ssh-agent after adding keys to config file? Because I always assumed that the SSH command would read its parameters from the config file Hence no need for ssh-agent.
@rondotexe
@rondotexe Рік тому
Liking for the FFVII reference!
@alvaradodev9428
@alvaradodev9428 6 місяців тому
No what I want! What about for the server side adding or banning keys to several nodes?
@dohjryt
@dohjryt 2 роки тому
As an old retired tech admin guy, this brings back a lot of good memories. You showed some good advanced techniques to keeping everything secure while easy to manage. Good job!
@benb.525
@benb.525 2 роки тому
What about Umbrella Corp...?
@gabormiklay9209
@gabormiklay9209 Рік тому
Skynet is from 'Terminator'.
@McDuffington
@McDuffington 2 роки тому
ssh-copy-id is great and all, but still leaves password authentication enabled.
@tubeDude48
@tubeDude48 Рік тому
Why use *CTRL-O* ? Just enter: *CTRL-X Y* in "nano"
@JacquesCoetzerAU
@JacquesCoetzerAU 11 місяців тому
Or just hold down Ctrl then do S, X
@homeandtechgeek
@homeandtechgeek Рік тому
why its ed25519 ? are these numbers that you just want at your choice?
@inef85
@inef85 5 місяців тому
no. it's a specific cryptographic standard. "Ed" from Edwards (twisted elliptic curves) "25519" from Curve25519, which is a specific mathematical description of one of the components used.
@dovedozen
@dovedozen Рік тому
Hearing "shinra" out of nowhere really soothed the pain of having to learn how to juggle multiple different identities with no GUI and very little understanding of Anything Involved; thank u. This would be an amazing tutorial either way but now I'm thinking about how pretty they made Cloud in the ff7 remake instead of how mad GitHub makes me
@frankbaron1608
@frankbaron1608 2 роки тому
how do you upload the key to the server if password authentication is turned off?
@softwaredepartment3541
@softwaredepartment3541 2 роки тому
Account creat nhi ho raha hai
@susancomo1557
@susancomo1557 Рік тому
Mooji
@adriancamilovillajimenez8010
@adriancamilovillajimenez8010 Рік тому
I have created 2 ssh keys, but there is something that i don't understand. I cannot associate my ssh keys, i'm using a personal github account, and another gitllab account, i want to use both ssh keys to work with diferent repositories. But when i try to associate a key with "the server" as $ ssh -i ~/.ssh/githubexample_key githubexample always appears this error => ssh: Could not resolve hostname githubexample The thing is that i don't know "how to get to the gitlab server", or "the github server", by the other hand i understood (maybe missunderstood) that the server is connected with the name of the key before the underscore.
How to Create and Use Alias Command in Linux | Top Docs with Jay LaCroix
17:46
SSH Full Course - EVERYTHING You Need to Know!
1:28:00
Learn Linux TV
Переглядів 547 тис.
ISSEI funny story😂😂😂Strange World | Magic Lips💋
00:36
ISSEI / いっせい
Переглядів 93 млн
Эта Мама Испортила Гендер-Пати 😂
00:40
Глеб Рандалайнен
Переглядів 7 млн
Мы играли всей семьей
00:27
Даша Боровик
Переглядів 1,8 млн
DOCKER CAPTAIN | Docker Scout
20:46
Çiğdem
Переглядів 77
SSH Key Authentication | How to Create SSH Key Pairs
18:46
Akamai Developer
Переглядів 100 тис.
How Secure Shell Works (SSH) - Computerphile
9:20
Computerphile
Переглядів 807 тис.
The Homelab Show Episode 38: Managing SSH Keys
38:43
Lawrence Systems
Переглядів 10 тис.
Is Adam Savage Still an Atheist?
8:16
Adam Savage’s Tested
Переглядів 121 тис.
Speed Up Your SSH Sessions with These Seven Quick SSH Config Tricks
15:27
Akamai Developer
Переглядів 33 тис.
5 Must Have Tweaks to Secure OpenSSH
21:48
Learn Linux TV
Переглядів 25 тис.
YubiKey Complete Getting Started Guide!
51:19
Learn Linux TV
Переглядів 156 тис.
SSH Keys
10:12
RobEdwards
Переглядів 95 тис.
How to protect Linux from Hackers // My server security strategy!
30:39
Christian Lempa
Переглядів 208 тис.
Why spend $10.000 on a flashlight when these are $200🗿
0:12
NIGHTOPERATOR
Переглядів 17 млн
The PA042 SAMSUNG S24 Ultra phone cage turns your phone into a pro camera!
0:24
Subscribe for more Coding Tips! 🔥I wish I knew this When Istarted Programming #school #software
0:34
M4 iPad Pro Impressions: Well This is Awkward
12:51
Marques Brownlee
Переглядів 5 млн
Android top🔥
0:12
ARGEN
Переглядів 568 тис.