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

  Рет қаралды 81,531

Akamai Developer

Akamai Developer

Күн бұрын

Пікірлер: 54
@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 11 ай бұрын
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.
@oluwabusayoshofowora4372
@oluwabusayoshofowora4372 9 ай бұрын
Just so happy I found this. My headache is solved. Thanks.
@norithegoldendoodle8931
@norithegoldendoodle8931 Жыл бұрын
Went through a quite a bit of tutorial flops before I found this gem. Thank you!
@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.
@MerleCox
@MerleCox 2 жыл бұрын
As a content creator I must say, your video's are well done, easy to follow, and very useful!
@billschnoebelen40
@billschnoebelen40 5 ай бұрын
This is explains things very well. I have been overwriting my ssh keys! My dog thanks you! He will get less kicks in the future...
@AndreReisAndrecsreis
@AndreReisAndrecsreis 10 ай бұрын
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.
@rogerwprice
@rogerwprice 2 жыл бұрын
This is super useful - thanks. Love that you explain things STEP BY STEP with increasing sophistication
@zigforjustice
@zigforjustice 2 жыл бұрын
Literally needed to do this today and found this immensely helpful
@xm6250
@xm6250 Жыл бұрын
You are the Gigachat of linux explanations.
@rexby
@rexby 10 ай бұрын
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.
@Aceptron
@Aceptron 4 ай бұрын
Hey you dropped this 👑
@rexby
@rexby 4 ай бұрын
​@@AceptronThank you
@jhonyortiz5
@jhonyortiz5 2 ай бұрын
I'm still pretty new to the terminal, can you explain a little better what you mean please?
@rexby
@rexby 2 ай бұрын
@@jhonyortiz5 What exactly do you not understand?
@jhonyortiz5
@jhonyortiz5 2 ай бұрын
@@rexby i figured it out using keychain instead of dealing with ssh-agent directly. But I meant I didn't know how to export the environment variables like you mentioned.
@NinjaBranDizzzle
@NinjaBranDizzzle Жыл бұрын
Explained flawlessly, thank you for this video
@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!
@ΗρακλήςΠαπαδόπουλος-ζ4δ
@ΗρακλήςΠαπαδόπουλος-ζ4δ 10 ай бұрын
Great video !!!
@mdjuhaeradittya
@mdjuhaeradittya Жыл бұрын
Thanks a lot! Very helpful.
@nelke.michael
@nelke.michael Жыл бұрын
Amazing. Thank you so much!
@_indrid_cold_
@_indrid_cold_ 5 ай бұрын
Thank you!
@rondotexe
@rondotexe 2 жыл бұрын
Liking for the FFVII reference!
@ricko13
@ricko13 2 жыл бұрын
awesome 💪 didn't know about the ed25519 key type
@y2kenh
@y2kenh Жыл бұрын
wished it was called ed209
@agaroui
@agaroui 9 ай бұрын
thanks a lot very helpful !!!
@bin4rym4ge
@bin4rym4ge 2 жыл бұрын
Thanks and God bless.
@JuniorReveron
@JuniorReveron 10 ай бұрын
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.
@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?
@armannataee5711
@armannataee5711 Жыл бұрын
thanks for very usefull lesson
@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
@seven6586
@seven6586 Жыл бұрын
Hi, do you create a separate key for every server or for every user on a server as well? thanks
@hamidja1537
@hamidja1537 Жыл бұрын
Thanks for sharing
@KarlBrouillette
@KarlBrouillette Жыл бұрын
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 2 жыл бұрын
Wow, very good explanation! How can combine ssh key with two factor? Can I use together?
@flaviomoreira01
@flaviomoreira01 2 жыл бұрын
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.
@balajimarisetti4245
@balajimarisetti4245 2 жыл бұрын
topclass
@homeandtechgeek
@homeandtechgeek Жыл бұрын
why its ed25519 ? are these numbers that you just want at your choice?
@inef85
@inef85 Жыл бұрын
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 2 жыл бұрын
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
@benb.525
@benb.525 2 жыл бұрын
What about Umbrella Corp...?
@gabormiklay9209
@gabormiklay9209 2 жыл бұрын
Skynet is from 'Terminator'.
@McDuffington
@McDuffington 2 жыл бұрын
ssh-copy-id is great and all, but still leaves password authentication enabled.
@tubeDude48
@tubeDude48 2 жыл бұрын
Why use *CTRL-O* ? Just enter: *CTRL-X Y* in "nano"
@jacquescoetzer-au
@jacquescoetzer-au Жыл бұрын
Or just hold down Ctrl then do S, X
@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
Speed Up Your SSH Sessions with These Seven Quick SSH Config Tricks
15:27
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
SSH Keys
10:12
RobEdwards
Рет қаралды 128 М.
18 Commands That Will Change The Way You Use Linux Forever
29:50
Akamai Developer
Рет қаралды 1,3 МЛН
Getting Started with OpenSSH Key Management
23:31
Learn Linux TV
Рет қаралды 46 М.
Authenticating on multiple GitHub accounts using SSH
13:53
A shot of code
Рет қаралды 43 М.
KeePassXC Advanced Usage // 8 features you might have not heard about
14:04
SSH Key Authentication | How to Create SSH Key Pairs
18:46
Akamai Developer
Рет қаралды 133 М.
"Zero Trust SSH" - Jeremy Stott (LCA 2020)
45:18
linux.conf.au
Рет қаралды 24 М.
5 Must Have Tweaks to Secure OpenSSH
21:48
Learn Linux TV
Рет қаралды 31 М.