OpenSSH is about to change. (For the better.)

  Рет қаралды 143,359

Veronica Explains

Veronica Explains

Күн бұрын

Пікірлер: 419
@billv4987
@billv4987 Жыл бұрын
Officially requesting that "Oh No! Am I going to have to do some work, Veronica?!" becomes a regular line in your show.
@VeronicaExplains
@VeronicaExplains Жыл бұрын
I might make it work!
@kahnzo
@kahnzo Жыл бұрын
oh, no...
@cbscbs
@cbscbs Жыл бұрын
+ also "Linux is awesome, and so are you."
@abandoninplace2751
@abandoninplace2751 Жыл бұрын
Ringtone. That is all.
@LunaLorea
@LunaLorea Жыл бұрын
I read that comment exactly at the moment this sentence fell.
@Montegasppa
@Montegasppa Жыл бұрын
It’s never a bad idea to update SSH keys regularly - even better when there is a more secure algorithm. 🙂
@VeronicaExplains
@VeronicaExplains Жыл бұрын
I try to replace mine every two years or so. Sometimes with dev/play servers I let them go a little longer, but those usually aren't even on most of the time when not in use!
@Johan.Molenberghs
@Johan.Molenberghs Жыл бұрын
Hi @@VeronicaExplains. Great vid. However NIST is recommending to rotate your keys every 1 to 12 months now ;)
@VeronicaExplains
@VeronicaExplains Жыл бұрын
Oooo, I don't see that in their last whitepaper I read. Is this new? (Note, any link you share here might get auto-blocked but I'll hopefully see it, vet it, and then allow it through.)
@dingokidneys
@dingokidneys Жыл бұрын
@@Johan.Molenberghs I'd think that this would only be necessary if you have really bad security hygiene; dropping your keys onto every machine that you touch. If you manage your keys well I can't see how changing them like you change your underpants actually helps. (1 to 12 months: yes, I'm a dirty old man :)
@Montegasppa
@Montegasppa Жыл бұрын
Good to know, @@Johan.Molenberghs. I usually do the same as @VeronicaExplains does, updating my keys every couple of years.
@shadowDXS
@shadowDXS Жыл бұрын
I'm so happy I subscribed to this channel. Love the content.
@Centomila
@Centomila Жыл бұрын
I subscribed when I read "no paid product placement"
@codeartha
@codeartha Жыл бұрын
Xana, so many good memories
@Maverick_Mad_Moiselle
@Maverick_Mad_Moiselle 11 ай бұрын
Woohoo!! Code Lyoko!! \o/
@SRG-Learn-Code
@SRG-Learn-Code Жыл бұрын
Damn, pitching out other channels is great! but also adding those in the description as well is a sign you are the best!! This channel is pure gold. The topics you cover are not my everyday needs but the most useful when I'm in trouble, which would be my everyday if not for you. Also the script is clear and well delivered, good amounts of comedy and plenty of well researched information distilled with great filmmaking and awesome animations. In any case, I'll recommend this channel as an example of how to do things properly. Even the captions are corrected! Great effort, great results. Thanks for sharing.
@VeronicaExplains
@VeronicaExplains Жыл бұрын
This comment brightened my day. Thank you so much!
@SRG-Learn-Code
@SRG-Learn-Code Жыл бұрын
@@VeronicaExplains
@MacintoshLibrarian
@MacintoshLibrarian Жыл бұрын
Thank you for being an awesome smart woman! and for linking my channel :) !
@VeronicaExplains
@VeronicaExplains Жыл бұрын
Thank YOU for making awesome videos which help all of us learn more! :)
@wombatdk
@wombatdk Жыл бұрын
Love SSH... fast, secure, can do file transfers easily multiple ways... and can trivially be centrally managed with a key server. That might be an idea for a vid too: Key servers. Edited to add: I mean e.g. LDAP vs universal key managers vs simple inotify to copy pub keys to servers that kind of thing. More than one way to skin SSH. :)
@Andrath
@Andrath Жыл бұрын
Uhm no. The whole point of the SSH key system is to easily create and distribute keys. The ed25519 keys are short so they are perfect, Look into ssh-copy-id. There is probably a manpage. You can just publish those keys pretty much anywhere. Hey, you could piggyback them on the GnuPG keyservers as a comment.
@billschrimpf6814
@billschrimpf6814 Жыл бұрын
using signed keys and KRL is part pf this
@peterboil4064
@peterboil4064 Жыл бұрын
Love the TLDR right after 5 seconds 😀
@VeronicaExplains
@VeronicaExplains Жыл бұрын
Doing my part to reduce clickbait! :P
@tomm5905
@tomm5905 Жыл бұрын
Great video again. You can really see how much time, creativity and effort you put into editing your videos. This 10m videos must have taking a day to make.
@WolfgangsChannel
@WolfgangsChannel Жыл бұрын
It would probably take a while for me to stop using the `-t ed25519` parameter 😁
@syrus3k
@syrus3k Жыл бұрын
I always like to describe public keys like locks and private keys like ... keys. I find this works well
@ran_red
@ran_red Жыл бұрын
Yeah, I think this is the best analogy. They are tied together in the same way
@GSBarlev
@GSBarlev Жыл бұрын
I mean, I guess? It's basically, "Here, I'm going to hand you this lock so that the next time we meet, you'll know it's me, because I'm the only one who can unlock it."
@Gornius
@Gornius Жыл бұрын
Public key is smart card reader, private key is your smart card. You can register your smart card to any amount of readers.
@LaughingOrange
@LaughingOrange Жыл бұрын
@@Gornius You can also pin any amount of locks to fit a given key.
@jeschinstad
@jeschinstad Жыл бұрын
5:15: That was incredibly well done! Wow! :) Great video. Thoroughly enjoyable.
@bobbyfried7478
@bobbyfried7478 Жыл бұрын
i want to set up a home network and ssh into my wife's laptop. so i really have to breakdown and learn ssh. thanx for your excellent videos. you always give details. i like that.
@broimnotyourbro
@broimnotyourbro Жыл бұрын
1. Couldn't agree more about the Macintosh Librarian- one of my favorites 2. Thank you, this is exactly the kind of fun yet informative content that is so hard to find. Hitting the patron.
@broimnotyourbro
@broimnotyourbro Жыл бұрын
Ok, ko-fi not patron. 🤷‍♂️
@SamHart69
@SamHart69 Жыл бұрын
First post "I quit COBOL" video and I love it. From one old-timer engineer to another, "great job, keep it up!"
@Kehvarl
@Kehvarl Жыл бұрын
OpenSSH is awesome, and so are you! This was a good bit of SSH info, and I found it nicely informative. It also reminded me to go clean up and regenerate my keys!
@EugeneChiang-me
@EugeneChiang-me Жыл бұрын
Absolutely fantastic config file at 8:35. 👍🏼the Brian May reference!
@BrianRonald
@BrianRonald Жыл бұрын
I also switche dto ed25519 keys years ago, and I'm glad it's now the default. It took me years to remember the digits.
@jortmungandr1112
@jortmungandr1112 Жыл бұрын
so great to see you back! Set looks like it's coming along well, and I hope things are turning for the better across the board for you!!
@nycki93
@nycki93 Жыл бұрын
This is the first video of yours that I've seen and I am immediately struck by how clearly you communicate! Both in terms of your script, and in terms of literally enunciating clearly. You stress the tricky consonants enough that my autistic brain can pick them out, but without going so far that it's just silly. That's such an awesome skill for a teacher to have and I'm so glad you enjoy what you do!
@james_neko
@james_neko Жыл бұрын
There's also different curves or curve parameters. As I understand it, ECDSA uses some curves published by NIST, where they say "Use these curve parameters" without any particular justification, and people speculate the NSA may be involved in getting them to endorse those particular parameters. The Curve25519 curve used by Ed25519 is also allegedly maybe more secure when it comes to side-channel attacks? But at this point I'm beyond my ability to assertively repeat that information.
@ben_spiller
@ben_spiller Жыл бұрын
The NIST curves are suspect because some of the parameters are randomly generated. NIST publishes the seeds used for the random number generator, but no explanation how they came up with the seeds (they look random). They could have used a nothing-up-my-sleeve number but they didn't.
@Acorn_Anomaly
@Acorn_Anomaly Жыл бұрын
One thing that might be cool to cover in the future is SSH certificates. They're built in to OpenSSH, with commands for managing them built in to ssh-keygen. But they're useful because they allow you to essentially create auto-trusted, but auto-expiring keys for any user on the system. You can limit the authorization for the certificate to specific dates/times, specific users, even specific uses of SSH. One benefit is not needing to reconfigure the target system with an updated authorization when a new key is created. As long as a new cert is generated, and signed by a key trusted by the target, the new cert will be accepted, without needing to update authorized_keys. And the "CA key" trust can be specified by the authorized_keys file or by a config option in sshd_config.
@dieselbaby
@dieselbaby Жыл бұрын
Yup, you can combine this kind of thing with something like Keybase and use it to manage your own custom CA for key management, it's fantastic.
@jarrodurban6927
@jarrodurban6927 Жыл бұрын
Great news. I am happy about the change. The length of the public keys make a practical difference. The new keys fit on one line, and are easy to copy and paste.
@hyoryo
@hyoryo Жыл бұрын
That is why i love MikroTik network equipment. even after over twenty years their switches and APs still get firmware updates to support the newest tech.
@ChazBword
@ChazBword Жыл бұрын
Favorite tech channel on KZbin. Love your content Veronica
@rmbelousov
@rmbelousov Жыл бұрын
Thanks for the video! Somewhere in enterprise RSA is still requirement, on modern systems too. "Azure currently supports SSH protocol 2 (SSH-2) RSA public-private key pairs with a minimum length of 2048 bits. Other key formats such as ED25519 and ECDSA are not supported."
@davidjohnston4240
@davidjohnston4240 Жыл бұрын
Enterprise deployments tend to chase FIPS compliance and Ed25519 is not quite there yet with NIST. The NIST curves like P256 are trusted by no one but still used as the least bad option unless you consider RSA the least bad option. Everyone is annoyed with NIST about them taking so long to get the whole Ed25519 certification cake baked.
@aysnov
@aysnov Жыл бұрын
RSA *is* the least bad option. Even if you're willing to use crypto parameters from a three-letter agency, non-ed ECDSA is a giant footgun.
@davidjohnston4240
@davidjohnston4240 Жыл бұрын
​@aysnov RSA is resource intensive compared to the others. It scales poorly too. NIST aren't even working on writing up the ed25519 specs which tells you that they are doing thier best to delay its adoption.
@aysnov
@aysnov Жыл бұрын
I'd argue "resource intensive" beats "leaks your private key if you ever use it with poor RNG". Key exchange performance shouldn't really matter on anything reasonably modern anyway, short of maybe some very constrained embedded systems.
@davidjohnston4240
@davidjohnston4240 Жыл бұрын
​@aysnov A poor RNG is never going to be a problem for me (My job). But my primary concern is the side channel and fault injection properties. RSA sucks more than EC in that respect, but the side channel research changes pretty fast so it might be less true over time. Small devices (eg smart cards) have issues with computing large RSA operations. The intersection of good algorithms and NIST compliant algorithms is nothing.
@chucko22758
@chucko22758 Жыл бұрын
Hi, new subscriber, but ooold S/W guy here. Coupla things: I work for a contractor at a US Gov't agency known throughout the solar system (ahem). The servers on one of my projects don't accept ed25519... they insist on ECDSA, which has, shall we say, a controversial history. Given a choice, I'll use ed25519 key pairs; I trust djb a whole lot more than I do NIST. The other thing: My spouse and I had Power Computing machines in the brief window when Apple allowed clones, before the Second Coming of Jobs. They were pretty cool machines, and the company had an Attitude that I found refreshing. Thanks, looking forward to more of your content!
@scottrussell6873
@scottrussell6873 Жыл бұрын
I always smile when I see your smiling face 😄, (and learn from your explanations.)
@kevin___
@kevin___ Жыл бұрын
Thanks for making this video. I usually added the ed25519 type to generate my keys, seems my keygen command just got simpler. Would/could you do a video on proper ssh key management? That is something I still have issues with how to properly administrate them.
@Hey-Yaz
@Hey-Yaz Жыл бұрын
Oh that ending. LOL!! Thank you for another wonderful and informative video.
@VeronicaExplains
@VeronicaExplains Жыл бұрын
I'm glad you stayed until the end! It was a lot of fun. :)
@DavidHuffTexas
@DavidHuffTexas Жыл бұрын
Thanks for the explanation, and yes - the Macintosh Librarian channel is a _bunch_ of fun!
@mrstevil3000
@mrstevil3000 Жыл бұрын
Thank you for another excellent video, Veronica. Yesterday I discovered sshfs. It seamlessly mounts a remote directory to your local system using ssh. It made life on my multi-OS home network much easier. Have a great day!
@bradm8529
@bradm8529 Жыл бұрын
Incredibly well made video
@SnowDaemon
@SnowDaemon Жыл бұрын
Veronica is BACK!!!!!!!!!!!!!!!!!!!!!!
@Mysticsam86
@Mysticsam86 Жыл бұрын
I just checked my FreeBSD-14.0 system and needed to update the config. Thanks for this info!
@MeriaDuck
@MeriaDuck Жыл бұрын
Hi from the patreon crowd! Using ssh since 1997, this was new to me!
@SRG-Learn-Code
@SRG-Learn-Code Жыл бұрын
Can't explain why but your style reminds me of such of the Beakman's Science Show, great synergy between info and entertainment. I really like your production style. Thanks for sharing.
@SRG-Learn-Code
@SRG-Learn-Code Жыл бұрын
It might be the fingerless gloves...
@jblacktube
@jblacktube Жыл бұрын
You're insanely talented, and the information that you provide is so important to hear, so I say this with deep respect. My hearing isn't what it used to be, and sometimes it can be be a difficult to understand words when the pitch goes too high. Thankfully closed captioning helps, but if you could keep an ear on your pitch for the benefit of older listeners when you record your videos? Thanks again for all the great information!
@fractalMD
@fractalMD Жыл бұрын
My guy. She talks how she talks. This is not a reasonable request. She puts huge effort into the closed captioning for this reason.
@jblacktube
@jblacktube Жыл бұрын
That's not for her to say, not you. =) It is fair for me to say that I need to hear what she's saying. As mentioned, I do use the closed captioning and that does indeed help! You're right that I'm requesting reasonable accommodation, like asking a spouse to use a lower shelf in the kitchen, or a phone app to allow the setting of larger font sizes to ease readability. I'd like to think that we don't (yet) live in a world in which we tell others that they should just go buy a ladder or rely on screen readers. Veronica puts a great deal of effort in taking complex, detail oriented topics and delivering content that is both accurate and nuanced. She also certainly puts considerable thought into delivery style as well and modulates her voice to make the monologues more interesting. The only catch is that it can affect the comprehension for those with hearing loss if not moderated well.
@KeritechElectronics
@KeritechElectronics Жыл бұрын
Nice news on the SSH updates. While there's no problem if both client and server run a modern version of openssh, it could be confusing to connect from modern to legacy system (e.g. an OpenWrt router which hasn't been sysupgraded for years), but all can be done with some knowledge and google-fu. Hey, nice to see the creator shoutout! Who knows, maybe I'll end up there someday :D
@autohmae
@autohmae Жыл бұрын
Also: if you allow password login, you should still be able to login with password.
@m3chanist
@m3chanist Жыл бұрын
4:50 That cheesy smile, the thanks for watching, that bass note....1, 2, 3, 4....Clough42 if I'm not mistaken, the signature sign off. Or maybe pure coincidence. Great channel by the way, O, and yay Debian. Great outro music, I'd go see that band, reminds me of the members, this is the sound of the suburbs.
@colinmaharaj
@colinmaharaj Жыл бұрын
I'm looking behind you and I see you're on top of things
@jamescs50
@jamescs50 Жыл бұрын
Thanks for this. More please! More of everything please!
@nicozica
@nicozica 9 ай бұрын
Oh No!! Am I going to have to do some work Veronica?? 😄🤗 Your videos are so enjoyable to watch!
@UpLateGeek
@UpLateGeek Жыл бұрын
I can't recall ever seeing the ED25519 option whenever I've generated SSH keys on Cisco gear, so I'm guessing it either doesn't support it, or possibly calls it something else. The latter wouldn't surprise me, since Cisco seem to like having their own way of doing things. Also, Macintosh Librarian is a great channel! Maccy is so much fun!
@666Tomato666
@666Tomato666 Жыл бұрын
There's no need to so I'm pretty sure they won't do it. Also, I'd expect them to want gov certifications (FIPS, and the like), Ed25519 wasn't allowed in those until very recently (like 2023)
@waldmensch2010
@waldmensch2010 Жыл бұрын
can you please make a video how to manage all these keys, which pam system i should use for organize all my keys?
@ezequielpartida5846
@ezequielpartida5846 Жыл бұрын
I love your videos! Great tips and very positive energy, you ALWAYS make my day 😁, by the way, the C=64 and Amiga Boing reminded me of all the fun. Thanks and Greetings from Northwest Mexico.
@VeronicaExplains
@VeronicaExplains Жыл бұрын
Thank you! Your comment made my day!
@kevincozens6837
@kevincozens6837 Жыл бұрын
Informative video. I will update my procedures to use the newer type of keys. I will watch the other video for information about the catalog to see if it will help me. I have multiple key pairs which results in ssh giving up on login attempts before finding the right key. I made some shell scripts to tell ssh which identify to use when I want to access certain systems.
@peterbrown6224
@peterbrown6224 Жыл бұрын
Thank you for saving me from having to find this out. Pausing my recovery for a moment, I can imagine this breaking things at my old workplace, perhaps on OpenVMS stuff. But as they are not paying me, I'm going to watch a cat video.
@GeordiLaForgery
@GeordiLaForgery Жыл бұрын
I always get Ed25519 and ED-209 mixed up. 👍
@ironfist7789
@ironfist7789 Жыл бұрын
HAHA, I was getting ready to post about the ed209, but then I saw your post :P Cool that it is going default now
@randomgeocacher
@randomgeocacher Жыл бұрын
Ed25519 doesn’t care but don’t upset ED-209!
@mrmotofy
@mrmotofy Жыл бұрын
I've seen so many commercials when I hear ED, I only think of...commercials and blue pills haha
@GeordiLaForgery
@GeordiLaForgery Жыл бұрын
@@ironfist7789 "going default" I like that.
@GeordiLaForgery
@GeordiLaForgery Жыл бұрын
@@randomgeocacher sometimes 209 has minor glitches!
@ciscovip1
@ciscovip1 Жыл бұрын
Lover your stuff. Keep doing it❤
@stevepoling
@stevepoling Жыл бұрын
Nice boing-ball graphic you got there. Have you done any Amiga or AmigaDos videos?
@GA-jm6sh
@GA-jm6sh Жыл бұрын
This is so good. Finally, someone is addressing topics like these.
@strouja
@strouja Жыл бұрын
Thanks. I just watched this as my 1st video from you. Good job as all my instructions always have -T option. I did run into this issue with Hadoop I think that needed RSA keys vs ed25519, the newer modern one that you and I use.
@estudiordl
@estudiordl Жыл бұрын
Just yestarday I generated a new keypar for a fresh arch install and when I pasted the public key on my nas server, I noticed this weird new key that look nothing like my old ones. Thanks for the info 😅😊
@comosaycomosah
@comosaycomosah Жыл бұрын
your videos always have such a good vibe
@thomaschung1781
@thomaschung1781 Жыл бұрын
I needed to keep RSA keys around because AWS EC2 didn't support ed25519 keys. I just checked again, and it turns out they added support for it 2 years ago. I can now use ed25519 keys for all my use cases
@hunglikeahamster
@hunglikeahamster Жыл бұрын
I remember integrating RSA keys into LDAP years ago and found that I had to strip the line ends of the public key before it would work. I wonder if I'd have to do the same with this key type?
@hangman0004
@hangman0004 Жыл бұрын
Nice to see you back making videos!
@VeronicaExplains
@VeronicaExplains Жыл бұрын
Thank you! Hopefully now the cadence picks up a bit!
@Cucuska2
@Cucuska2 Жыл бұрын
Love the content! One question I keep pondering watching your videos is that are you and the Technology Connections person connected in any way? Your jokes and style feel very similar to me and I am having an absolute blast yours and his videos!
@germangarciafernandez
@germangarciafernandez Жыл бұрын
Great video, great reminder. Un saludo desde Bogotá
@TheMostOrdinaryPersonOnEarth
@TheMostOrdinaryPersonOnEarth Жыл бұрын
I do sysadmin in a "legacy" setting (so many stupid windows servers), we are just looking at transferring to ssh keypairs... Although somehow we run docker containers like they're going out of fashion. Gonna go watch the OpenSSH video now, cheers!
@ChrisHarringtonMinneapolis
@ChrisHarringtonMinneapolis Жыл бұрын
The intro fakeout was fantastic, glad I had set my coffee down
@klassica
@klassica Жыл бұрын
Recently got a nice deal on a very old Cisco PoE switch. When attempting to SSH into it, I wasn't supersized that doing so required setting flags for algorithms no longer supported by default, like SHA1 and aes-256-cbc.
@VeronicaExplains
@VeronicaExplains Жыл бұрын
Yup! That's a thing with a lot of old network equipment!
@praus
@praus Жыл бұрын
Been loving Macintosh Librarian. She really hits you right in the nostalgia button, assuming you used old Apple and Macintosh computers in school. It’s also really neat to see the things people have come up with to keep old tech running or even expand it’s capabilities, far beyond what was possible when it was new.
@guitarbuddha74
@guitarbuddha74 Жыл бұрын
The edge cases I usually seem to hit in the past with ssh keys were related to software that used ssh internally. Like some kind of niche software for a company. There would usually be some code that specified the type of key and I couldn't use newer types of keys with it.
@okj579
@okj579 Жыл бұрын
I love your retro visuals!
@autohmae
@autohmae Жыл бұрын
2:48 the -sk ones, as I understand it, are meant for FIDO2 devices like a Yubikey.
@cristianseres1353
@cristianseres1353 Жыл бұрын
Abloy and SSH, two well-known Finnish invention for security. I am old fashioned and still prefer 3072 bit RSA keys for SSH and Abloy Protec² for mechanical locks.
@TradieTrev
@TradieTrev Жыл бұрын
I didn't even know this was a thing! Thanks Veronica for your explanation!
@patricklebel1141
@patricklebel1141 Жыл бұрын
That Commodore 128 I dreamt to have back in the day... Until I saw the Amiga 500. Got the 500 and I never regetted it!
@Darkk6969
@Darkk6969 Жыл бұрын
Same here! 😁
@gabrielb.8518
@gabrielb.8518 Жыл бұрын
I have LMDE6 on an old Dell M4700. Till now, for me the minus is the way to configure an Access Point. I`m wondering if you also found some stuff that needs some refactory/improvement.
@gilbert1975nf
@gilbert1975nf Жыл бұрын
6:48 - in my trixie box I need to put -t flag in order to generate the ed25519 key! Weird. I tought that would be the default from Debian Trixie!
@VeronicaExplains
@VeronicaExplains Жыл бұрын
I don't know if it's trickled down to testing yet. Might be worth looking through the mailing list to see if they're planning it for this release or next?
@dingokidneys
@dingokidneys Жыл бұрын
I just finished changing all my keys over to ed25519 a couple of days ago. I had no idea they'd be changing the default so this is good news. I always had to either run '--help' or do a quick 'man ssh-keygen' cause I could never remember ed25519 and then because I had an old rsa key still hanging around I'd always have to specify the id file either on the command line or in a config file which was a bit of a drag.
@LarryGarfieldCrell
@LarryGarfieldCrell Жыл бұрын
I love the random Commodore 64 drops. I remember using that machine. Good times. :-)
@danjoseph5707
@danjoseph5707 Жыл бұрын
Great video! Thanks :)
@scottfranco1962
@scottfranco1962 Жыл бұрын
I like that your "Unix and linux system administration" is serving to raise your monitor height.
@Maverick_Mad_Moiselle
@Maverick_Mad_Moiselle 11 ай бұрын
Fun fact. A week ago or so, I played a game called Scanner Sombre (awesome btw) which used a faulty OpenSSH feature code. Intel 10th+ generation CPUs apparently have a feature for better key generation and that faulty code caused the game to crash when attempting to use the CPU feature with it. Intel has posted an article about it "OpenSSL* SHA Crash Bug Requires Application Update." A game dev unrelated to this game has debugged the issue and made a tutorial to edit the executable to replace the OpenSSH commands by NOP and it fixed it. It was later found that just telling Windows not to use those features worked too, albeit not as fun. Perchance.
@burcakb1
@burcakb1 Жыл бұрын
Here's a problem point I see coming & I'm prepping my popcorn for the show: Last I looked Windows (11 no less) does NOT support/allow ed25519 keys (it does support ecdsa though). A hole that carries over into Windows Subsystem for Linux as well.
@dieselbaby
@dieselbaby Жыл бұрын
WSL2 doesn't support ed25519 keys? Are you talking about someone SSHing into a Windows 11 machine remotely? I've been using ed25519 keys to SSH into remote servers FROM Windows 11 WSL2, no problem.
@wezzelinator
@wezzelinator Жыл бұрын
So happy about this. It was so annoying to need to google it every time because who can remember ed2?????
@VeronicaExplains
@VeronicaExplains Жыл бұрын
Here's a tip- in most terminals you can type `-t ed` and then hit tab. On the few I regularly use, it autofills the rest. :)
@wezzelinator
@wezzelinator Жыл бұрын
@@VeronicaExplains oh yeah auto-completions are standard now... 😅
@KangJangkrik
@KangJangkrik Жыл бұрын
If you want go further, you can set up hardware-based SSH key which usually stated as ed25519-sk or rsa-sk. So the hacker need to be a physical theft to penetrate :)
@Thiesi
@Thiesi Жыл бұрын
2:37 - That background looks oddly familiar. I wonder where you got the inspiration from.
@VeronicaExplains
@VeronicaExplains Жыл бұрын
Your avatar, clearly! :)
@casperghst42
@casperghst42 Жыл бұрын
Humm, I created some keys a few years ago and got dsa, rsa, ecdsa and ed25519 keys. So the ed25519 key has been there for a while. 'dsa' is ofcause deprecated today and should not be used.
@AlanCanon2222
@AlanCanon2222 Жыл бұрын
Yay, I needed to get sshd running under Ubuntu after doing a complete wipe/reinstall a few weeks ago, so this would be the perfect time to see if this improvement is in the changelogs, or whatever. I'm just accessing my PC from my Chromebook, so I'm no power user of sshd, but it's always fun to delve into a part of Linux that I normally just "set and forget". Thanks for the info.
@bogdanrzheusski8115
@bogdanrzheusski8115 Жыл бұрын
You can always specify encryption you want to use for key generation yourself with > ssh-keygen -t
@AlanCanon2222
@AlanCanon2222 Жыл бұрын
@@bogdanrzheusski8115 Thanks, yes, as Veronica explained. That's what I wound up doing, as my ssh-keygen isn't yet the newest release (Ubuntu being downstream of Debian). Read the man page for it too, like every day with Linux, a learning exercise.
@NithinJune
@NithinJune Жыл бұрын
ok but will this help me keep my super secret supervillain plans to secret from a totally not imagined quantum threat
@nezu_cc
@nezu_cc Жыл бұрын
The "More secure" part is debatable. Yes, you can get away with way smaller key sizes to achieve similar security, but they are fundamentally different algorithms. Comparing them isn't as simple as one might think. Whether it is more secure will depend on your threat model and key sizes. AFAIK rsa is still way more resistant against quantum attacks than Ed25519 for example.
@VeronicaExplains
@VeronicaExplains Жыл бұрын
I believe I said RSA is "often" less secure, and I said I'm not a cryptographer. But please, if you know of any reputable cryptographers who feel RSA public/private keys are a more secure choice than Ed25519, I'd like to hear it. :)
@nezu_cc
@nezu_cc Жыл бұрын
@@VeronicaExplains I mean we could argue about it, but realistically speaking both (at the current default key sizes) are more than good enough for 99.99% of use cases. Many bank and government websites to this day use RSA 2048 in their SSL certs. It all depends on the threat model, and let's be honest, if you're dealing with an organization that has the capability to brute force these algorithms, they also have the capability to raid your house/data center and just grab the server directly, and they won't bother with trying to brute force the algorithm unless they absolutely have to. More secure defaults, smaller keys, why not, but realistically speaking, it doesn't really matter, your old rsa keys are fine just fine. It's far more likely that someone will find a pre-auth 0-day vulnerability in openssh than someone bruteforceing your RSA 2048 key. XKCD 538: Security
@masoudesmaeilian5083
@masoudesmaeilian5083 Жыл бұрын
Thanks for sharing, can I know the name of the book that you put question mark or it just was a printed page from wikipedia? :) or if you know a book about these algorithms
@autohmae
@autohmae Жыл бұрын
For Debian the oldest release that supports it is: Debian 8 Jessie from 2015 So in case of Debian, you had to be running software older than that, like Debian 7 Wheezy from 2013
@MykDowling
@MykDowling Жыл бұрын
Manjaro seems to have changed the openssh config to create ed25519 by default a while ago. My ed25519 cert was created in August 2022! Either that, or I just decided to create a more secure cert pair. Any idea how far off OpenSSH moving to Quantum Safe encryption is?
@bmacpher
@bmacpher Жыл бұрын
I'll have to retrain my muscle memory - been doing it long enough that ssh-keygen -t rsa -b 4096 is a cliche, from the days of default dss 🙂
@EricaCalman
@EricaCalman Жыл бұрын
Commands in the description, this is why I come here! Well, one of the many reasons.
@VibesOfVinegar
@VibesOfVinegar Жыл бұрын
Being a fellow minnesotan, it's uncanny to hear what sounds exactly like my aunt schooling me in how to use OpenSSH, it's like I can't help but not pay attention.
@duduoson1306
@duduoson1306 Жыл бұрын
As a genXer I appreciate all of the commodore/amiga surprises in this
@bwcbiz
@bwcbiz Жыл бұрын
Remember that SSH is the underpinning for SFTP, which is used by a few other user classes besides system admins and devops.
@rikschaaf
@rikschaaf Жыл бұрын
I'm surprised at how the key can be so much smaller than the RSA key. Makes me wonder if there is more potential risk for cracking attempts. If not, I'm curious why RSA needs so much longer keys. Is it because there are fewer usable numbers that would be valid in RSA, due to it being prime based?
@ZijZijnZijnZoons
@ZijZijnZijnZoons Жыл бұрын
I liked the fake-out on the exit music midway through the video.
@furicle
@furicle Жыл бұрын
Wait a minute, you can use indentation on ssh config files? Why didn't I think of that???
@codephilosopher
@codephilosopher Жыл бұрын
Love your videos, Thank you.
@RadeonArch2437
@RadeonArch2437 Жыл бұрын
Awesome retro feeel u give in ur videos, I date back to PC-XT days of Dos
@NeverlandSystemZor
@NeverlandSystemZor Жыл бұрын
Oh I love Mac Librarian! Her vids are so good.
@rebane2001
@rebane2001 Жыл бұрын
It's awesome ed keys are the default now, been using them for a while just so the authorized_keys entries would look neater
@folha_seca5862
@folha_seca5862 Жыл бұрын
Hi, Veronica. Sorry for making this comment here instead of on your video about quitting, but Id really like to see a video of how to get into cobol coding or the behind the scenes work you did. I did some research a while back, and your positive outlook on getting a job in that industry contrasted with the outlook I came across.
OpenSSH for Absolute Beginners
23:00
Veronica Explains
Рет қаралды 126 М.
Linux Mint vs... Linux Mint (Debian Edition)
17:43
Veronica Explains
Рет қаралды 296 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
Open Source Cartridge Reader: ROMs and saves from real hardware!
22:43
Veronica Explains
Рет қаралды 36 М.
Red Hat: why I'm going all in on community-driven Linux distros.
12:56
Veronica Explains
Рет қаралды 206 М.
5 Must Have Tweaks to Secure OpenSSH
21:48
Learn Linux TV
Рет қаралды 32 М.
this SSH exploit is absolutely wild
11:59
Low Level
Рет қаралды 346 М.
12 GREAT command line programs YOU recommended!
16:25
The Linux Experiment
Рет қаралды 311 М.
Tmux has forever changed the way I write code.
13:30
Dreams of Code
Рет қаралды 1,1 МЛН