How SSH Works

  Рет қаралды 440,290

Mental Outlaw

Mental Outlaw

2 жыл бұрын

In this video I explain how SSH works.
Subscribe to my Odysee channel
odysee.com/@AlphaNerd:8
₿💰💵💲Help Support the Channel by Donating Crypto💲💵💰₿
Monero
45F2bNHVcRzXVBsvZ5giyvKGAgm6LFhMsjUUVPTEtdgJJ5SNyxzSNUmFSBR5qCCWLpjiUjYMkmZoX9b3cChNjvxR7kvh436
Bitcoin
3MMKHXPQrGHEsmdHaAGD59FWhKFGeUsAxV
Ethereum
0xeA4DA3F9BAb091Eb86921CA6E41712438f4E5079
Litecoin
MBfrxLJMuw26hbVi2MjCVDFkkExz8rYvUF
Dash
Xh9PXPEy5RoLJgFDGYCDjrbXdjshMaYerz
Zcash
t1aWtU5SBpxuUWBSwDKy4gTkT2T1ZwtFvrr
Chainlink
0x0f7f21D267d2C9dbae17fd8c20012eFEA3678F14
Bitcoin Cash
qz2st00dtu9e79zrq5wshsgaxsjw299n7c69th8ryp
Etherum Classic
0xeA641e59913960f578ad39A6B4d02051A5556BfC
USD Coin
0x0B045f743A693b225630862a3464B52fefE79FdB
Subscribe to my KZbin channel goo.gl/9U10Wz
and be sure to click that notification bell so you know when new videos are released.

Пікірлер: 408
@brianobey4368
@brianobey4368 2 жыл бұрын
Ya can't just go around tell the normies about elite hacker tools like ssh. This is gonna get you another strike. Don't you know the first rule about ssh is shh.
@KatzRool
@KatzRool 2 жыл бұрын
legendary commentary
@davidkeys4284
@davidkeys4284 2 жыл бұрын
It's a scp
@Linuslkm
@Linuslkm 2 жыл бұрын
Elite hacker tool wtf, i like this comment because it sits on the line of it being either 8 layers of irony or being made by a 6yo thanks for this masterpiece lmao
@devilfrog4209
@devilfrog4209 Жыл бұрын
"Elite hacker tool" boy what
@amunkus2773
@amunkus2773 Жыл бұрын
@@devilfrog4209 The joke 💨💨💨 🤓
@Toyking10
@Toyking10 2 жыл бұрын
I didn’t know how SSH works. Now I do. Thanks Mr Outlaw.
@AshleyRiot
@AshleyRiot 2 жыл бұрын
I didn’t even know it existed. Thank you Mr. Outlaw.
@Contractor48
@Contractor48 2 жыл бұрын
Yes, now for the other mystery in the life..does anyone know what a woman is?
@itsdokko2990
@itsdokko2990 2 жыл бұрын
@@Contractor48 they're a myth
@AshleyRiot
@AshleyRiot 2 жыл бұрын
@@Contractor48 is that some sort of forbidden torrent technique?
@Contractor48
@Contractor48 2 жыл бұрын
@@AshleyRiot I don’t know, I am not a biologist.
@crekkk
@crekkk 2 жыл бұрын
It would be great if you could do more of these informative style videos. I suppose the majority of your viewers are probably technically proficient so perhaps it wouldn't be worth it but I think you have an excellent way of explaining a topic without being condescending. It's nice to watch someone explain something without stopping for every tiny detail, but covering the concept in a way that people can understand and develop as a platform for their learning. Either way, great video Outlaw.
@TirisT1000
@TirisT1000 2 жыл бұрын
I agree! His style of presentation is informative and enjoyable. Perhaps a second channel would be good? I'm still new to computer science topics and am trying to get out of the 'I don't know what I don't know' phase by absorbing as much as I can, so this video was great.
@spaghettilastname3095
@spaghettilastname3095 2 жыл бұрын
I also like this
@LungCancer420
@LungCancer420 2 жыл бұрын
I started watching this channel because of the technically informative videos. Now I watch this channel for multiple kinds of informative videos. I just hope Mr. Outlaw keeps churning out videos for us to learn stuff
@tjdjultima
@tjdjultima 2 жыл бұрын
I work in the industry and don’t know a lot of this as it’s not immediately related to my role, so, totally agree!
@AgentFortySeven47
@AgentFortySeven47 2 жыл бұрын
SSH is one of those concepts I've struggled with a bit in my IT studies. This video explained it perfectly for me. Thanks Mental Outlaw.
@atpray
@atpray 2 жыл бұрын
ssh is a life safer. My use cases - Managing my servers. - ssh config file is super helpful. Instead of remembering multiple ip's and ports, I can assign it a simple name. - Public-private key authentication is super easy. More secure and much convenient, instead of typing password each time you ssh. - Port forwarding with ssh to use a vnc viewer on my local desktop. Even tho servers are not meant to have a desktop environment, sometimes it is required (I use them with docker or lxd containers) - Port forwarding with ssh to test/configure the website before making it public. - Using sshfs, to mount a server directory on local machine. Kinda works like network storage.
@TurkeyOW
@TurkeyOW 2 жыл бұрын
I already knew a bit abt ssh so this video was more of a fun time killer. Super cool to hear examples of its versatility because when learning new topics I have a hard time grasping just how many places you can apply them.
@ziemniok111
@ziemniok111 2 жыл бұрын
ssh tunneling is fucking brilliant
@toasty_dreamss2076
@toasty_dreamss2076 2 жыл бұрын
@@TurkeyOW same. Learning the application of a topic is a bit tough when you're starting out. It's the fun-est bit tho... applicability is key 🔑👌
@srpenguinbr
@srpenguinbr 2 жыл бұрын
Another use: logging into a local vm in your regular terminal
@-morrow
@-morrow 5 ай бұрын
another fun thing: proxy jump through a bastion host
@RetroDev256
@RetroDev256 2 жыл бұрын
Maybe a better idea of what padding would represent in your analogy would not to mix in decoy packages, but to use the same package size for each item you receive, so you could not theoretically infer information about the object inside by its size
@fischmann1746
@fischmann1746 Жыл бұрын
This.
@GhostkillerPlaysMC
@GhostkillerPlaysMC 2 ай бұрын
How does it do that? I was thinking it’d be more like putting rocks in the packages. But is this standard weight large enough so that no packet will need to be greater than it?
@SacreligousTurkey
@SacreligousTurkey 2 жыл бұрын
Aside from the bloat free, direct, and well articulated information you present every time... That creepy Joe meme at 2:38 is why you’re my favorite person on KZbin
@raynerhandrian1486
@raynerhandrian1486 2 жыл бұрын
And it's a lot more cursed if you know the character in that meme
@mrkiky
@mrkiky Жыл бұрын
Creepy Joe sniffing that poor unencrypted packet 😥
@josesantana3825
@josesantana3825 4 күн бұрын
😅
@bahathir_
@bahathir_ 2 жыл бұрын
In late 1990's, network was simple. PC's were connected to 'HUB', and it was very easy to 'sniff' connections. With Slackware Linux, I used program called 'sniffit' and I able to 'see' every connections in the network. IRC was very popular, and I able to 'see' all the chats and sometime I pranked them. :) SSH not just replaced the rsh or rlogin, but also ftp and rcp too. Thank you.
@Gbennett1425
@Gbennett1425 2 жыл бұрын
I am needing to use this with my Raspberry pi for a class project, having one of my favorite youtubers in this field explain how it works makes it even better
@NostraDavid2
@NostraDavid2 2 жыл бұрын
You've probably used ssh-keygen to create a private and public key file, right? I also assume you need to input your password when you log into your pi? Use ssh-copy-id to copy your public key to the pi. You'll probably have to change your local config, but it's sooo nice not to type your password every time! :D
@Gbennett1425
@Gbennett1425 2 жыл бұрын
@@NostraDavid2 thanks for the tip, I’ll definitely be sure to try that
@YSANROCHEOfficialYoutube
@YSANROCHEOfficialYoutube 2 жыл бұрын
You are doing great, I highly appreciate videos of content creators like you. Sending Praise and Love to you, keep going
@stefanklaus6441
@stefanklaus6441 2 жыл бұрын
I would really appreciate more videos like this A bit calmer and more focused than usual.
@Kaz-qz2oq
@Kaz-qz2oq 2 жыл бұрын
I learned about SSH by jailbreaking my Apple products years ago. Thanks for spreading the love
@sethbingo
@sethbingo 2 жыл бұрын
Just wanted to drop by and say your videos helped me get SEC+ certified. Thanks 👍
@sebastianarrieta9678
@sebastianarrieta9678 2 жыл бұрын
Thanks to SSH, SFTP exists. It's the same as FTP but through SSH. And it doesn't need the other server to run a FTP server!!!!
@gjermundification
@gjermundification 2 жыл бұрын
scp and rsync are both very helpful.
@cxob2134
@cxob2134 2 жыл бұрын
use it every day, still learned something, the sign of good content!
@alwayslaidback
@alwayslaidback 2 жыл бұрын
Perfect video for me as an ongoing systems engineer. Thanks!
@ozzy2361
@ozzy2361 2 жыл бұрын
Not only did I really enjoy this, but I also learned a lot. Started from the creation of ssh to modern ssh, all while being super concise. Thanks a lot man!
@CristianMorales1
@CristianMorales1 2 ай бұрын
Pleasant narration. Keep up the good work. 👌🏻
@midimusicforever
@midimusicforever 2 жыл бұрын
Very important tool that one just uses without stopping to appreciate what a nice thing it is!
@MeroFuruyaSankarea
@MeroFuruyaSankarea 2 жыл бұрын
this is the content corporate youtube wants!
@FirstnameLastname-xw5pb
@FirstnameLastname-xw5pb 2 жыл бұрын
Ay G ion dub I didnt even know what u on till I saw this video thanks dawg u da real one G keep it up and stay up.
@tedbear631
@tedbear631 2 жыл бұрын
Thanks as always for this. Love learning about this kind of thing even though I already know a lot about tech didn't know much about SSH except is was secure thanks!!!
@codinginflow
@codinginflow Жыл бұрын
Wow, this was really well done. Concise and to the point.
@xn1kkix
@xn1kkix 2 жыл бұрын
thank u, been dealing with some crazy stuff lately this helps
@MC2738
@MC2738 2 жыл бұрын
I laughed so hard at 2:38. Well done, my friend, well done.
@chaysx177
@chaysx177 2 жыл бұрын
Please post more of this content. It's within your level of expertise :)
@mfThump
@mfThump 2 жыл бұрын
watch out man youtube might decide that controlling another device from your computer is encouraging hacking.
@AdrX003
@AdrX003 2 жыл бұрын
I usually read stuff about this but i might start checking out more videos like these, look very interesting, Thanks!
@halcyonacoustic7366
@halcyonacoustic7366 2 жыл бұрын
I knew a few use cases for ssh but what it is is often glossed over. Thanks for the video!
@eideticex
@eideticex 2 жыл бұрын
Another really nice use of SSH is debugging software, especially interop software where more than one programming language and runtime is used. Got a lot of mileage out of it for debugging some C# interop recently when the existing debuggers for that just weren't giving low enough level of information. Kept an SSH session open monitor the specific portions of the logs involved on another machine but could have just as well done it from the machine itself since SSH works the same locally as it does remotely.
@kreuner11
@kreuner11 2 жыл бұрын
Why do you need ssh for that?
@satibel
@satibel 2 жыл бұрын
@@kreuner11 basically TeamViewer for command line Yeah there are other options but watch or inotify over ssh works very well for this use case (monitoring logs)
@kreuner11
@kreuner11 2 жыл бұрын
@@satibel I mean, for local logs you can use tail -f
@WORMSTweaker
@WORMSTweaker 2 жыл бұрын
You made me discover the -X argument for SSH, thank you, this is amazing
@AruaRamosMetellodeAssis
@AruaRamosMetellodeAssis 2 жыл бұрын
a good topic to follow would be to teach what are ssh tunnels and how to use them. they are very useful for the management of local network resources and yet most linux users i talked so far never used them.
@lex_darlog_fun
@lex_darlog_fun 2 жыл бұрын
Thanks a lot, and the video has (almost) prefect timing personally for me. I was wondering about how secure the secure shell is, and you helped me get rid of most of my worries. 👍🏻 Though, I'm still unsure if the initial credentials can be intercepted - if an attacker sniffs packets as I perform the very first thing: establishing connection (and, later, providing my credentials).
@teacon7
@teacon7 2 жыл бұрын
This vid looks nice and inoffensive, sure, but also it's useful and informative in its own right. Thanks for making it.
@kebman
@kebman 2 жыл бұрын
There's a specific reason for why compression is added last due to how compression before encryption introduces some recognizable patterns, even though it might even be detrimental to the achievable level of compression. But safety first! :)
@purdysanchez
@purdysanchez 2 ай бұрын
This was a great video. You should do more of these. Maybe one about how asymmetric encryption is used to negotiate the connection and exchange the symmetric key?
@shaunkerr8721
@shaunkerr8721 10 ай бұрын
The TCP/UDP water analogy was hilarious.
@barbobrien9318
@barbobrien9318 10 ай бұрын
Well-presented and engaging.
@KotleKettle
@KotleKettle 2 жыл бұрын
And again, thank you for educating us, normies, my humble king. Love you 💕
@synchro505
@synchro505 2 жыл бұрын
An here I thought I knew a thing or two about SSH. Nope. Learned a ton from this video. Many thanks!
@heller166
@heller166 2 жыл бұрын
the matrix background behind the packet breakdown had me rolling
@jimjam742
@jimjam742 2 жыл бұрын
0:25 ah yes, SHH everybody's favorite remote shell protocol
@timothyt.82
@timothyt.82 2 жыл бұрын
It's great to have you back!
@lightmorrison5404
@lightmorrison5404 2 жыл бұрын
please do more of these style of this videos along with your normal stuff!!
@kd7nyq
@kd7nyq 2 жыл бұрын
Those photos and graphics sure take me back!
@lucaramponi4022
@lucaramponi4022 2 жыл бұрын
Outstanding video, great work Mental sir
@highmanwich5413
@highmanwich5413 2 жыл бұрын
Thanks for the video Mr. Outlaw! Have a good one 😃
@danub3926
@danub3926 2 жыл бұрын
Very nice explanation. As a linux ssh newbie I found your explanation very informative. I followed ya on Odysee just in case the algorithym gets ya. . .
@joeldoxtator9804
@joeldoxtator9804 2 жыл бұрын
SSH is my favorite function of linux. It's the best way to manage a server rack all the way down to the router.
@KangJangkrik
@KangJangkrik 2 жыл бұрын
Finally, useful video! This is better than biased rant like what Kenny usually did, tbh
@No_one1776
@No_one1776 2 жыл бұрын
Nice job explaining this
@wisteela
@wisteela 3 ай бұрын
Very informative
@apollomedia7210
@apollomedia7210 2 жыл бұрын
That TCP UDP picture was spot on. Funny lol
@dk0money
@dk0money 2 жыл бұрын
Great explanation and illustration.
@johngold5214
@johngold5214 2 жыл бұрын
Fantastic video! It was easy to follow and didn't' bore me at any point.
@afallingtree9114
@afallingtree9114 2 жыл бұрын
this is the type of information that needs to be taught in school
@ghosthunter0950
@ghosthunter0950 2 жыл бұрын
Haha you wish. They aren't even teaching standard stuff that every single person will have to know. The school system is a failure in everything but the intention behind it.
@JValor
@JValor 2 жыл бұрын
American schools don't want to mold utilitarians, they want lap dogs.
@afallingtree9114
@afallingtree9114 2 жыл бұрын
@@ghosthunter0950 absolutely, but there isn't a whole lot we can realistically do about it
@guzzergusher
@guzzergusher Ай бұрын
It already is lol
@redringofdeathgamer
@redringofdeathgamer 2 жыл бұрын
"Sniffing it.". Chef's kiss.😁
@CesarSantoyo-il4ql
@CesarSantoyo-il4ql Ай бұрын
Bro explained this better than all my instructors 💀
@vladislavkaras491
@vladislavkaras491 8 ай бұрын
Thanks for the video!
@joiscode3832
@joiscode3832 2 жыл бұрын
Thx. Its go to understand how what your doing works
@Thomas-41234
@Thomas-41234 2 жыл бұрын
In 1997 I had a direct ethernet connection from my apartment to the university network. I used some aplication (can't remember the name) to get the X from the university unix computers to my linux computer. It was all unsecure telnet connections. We had hundreds of students with their computers sharing pics, music and whatever in their unsecure FTP connections. Damn, those were crazy times, haha.
@incelloner4465
@incelloner4465 2 жыл бұрын
lol love the memes, I'm subscribing
@connivingkhajiit
@connivingkhajiit 2 жыл бұрын
Good evening, Mr. Outlaw. Any chance you could do a video about port forwarding? My suddenly stopped seeding and supposedly my port is not forwarded. I'm too smooth-brained about networking to figure it out properly.
@derram0k
@derram0k 2 жыл бұрын
Port forwarding is done on your router and might be called something different depending on what router you have. There's a website that breaks it down pretty simply.
@whitewolf262
@whitewolf262 2 жыл бұрын
Also: on some ISP supplied routers, it's very difficult or even impossible to port forward. I ended up buying my own equipment because of it.
@sunglocto
@sunglocto 2 жыл бұрын
@@whitewolf262 Yeah, on my sky router you need to pay for static ips and port fotwarding
@tworiversfolk923
@tworiversfolk923 2 жыл бұрын
@@sunglocto Thats insane you would need to pay for static IP's! Next thing to happen is force /30 instead of the standard /24 for the subnet.
@connivingkhajiit
@connivingkhajiit Жыл бұрын
@@tworiversfolk923 in the last 10 months i took two networking classes at my university and now i know what that means!
@down4good
@down4good 2 жыл бұрын
Damn how do you put out so many vids. My fave channel!
@morsine
@morsine 2 жыл бұрын
I've used Linux since more than 12 years ago, however I've never read how SSH works. Thank you for making this!
@LinuxUser123
@LinuxUser123 2 жыл бұрын
I recently just installed bitvise to host an ssh server for file sharing, works great, I recommend that if you Wana host ssh on windows
@es1090
@es1090 3 ай бұрын
Nicely put, thanks.
@encrypt3d587
@encrypt3d587 2 жыл бұрын
I was looking for a good explanation of the protocol yesterday, get out of my walls
@murtadha96
@murtadha96 2 жыл бұрын
Great explanation! Thanks
@isbestlizard
@isbestlizard 2 жыл бұрын
You could have mentioned scp which allows file copies between hosts via ssh, and is super useful for those times you want to move files but can't be arsed setting up nfs.
@isbestlizard
@isbestlizard 2 жыл бұрын
Oooooh and authorized_keys versus password authentication, once you have a key you can zip between loads of hosts without ever having to type your password again :D
@ram9881
@ram9881 2 жыл бұрын
This video is outstanding and packed with knowledge, but is no one going to talk about the Nagisa cameo? MentalOutlaw trutly is a man of culture.
@friday6014
@friday6014 2 жыл бұрын
Do one on the Nym network. They use sphinx packets like the lightening network, reorder the packets, use decoy traffic and adjustable timing delay to defeat timing correlation
@aslanbekx
@aslanbekx 17 күн бұрын
The first time I heard about ssh I remember saying: Surely I should abuse it
@elismith6048
@elismith6048 3 ай бұрын
thank you for the video its really good could you make a video talking about ssh tunneling?
@icemangrant6081
@icemangrant6081 2 жыл бұрын
Thanks bro🤝
@theITGuy-no3nt
@theITGuy-no3nt 2 жыл бұрын
Wow. This is the perfect SSH primer. -- a Grey Beard who would have picked you up on the tiniest mistake, but found none
@jonragnarsson
@jonragnarsson 2 жыл бұрын
SSH is amazing, especially ssh tunneling. Saves so much headache.
@ducodarling
@ducodarling 2 жыл бұрын
I never know if I should expect some useful tech info, or how to cook chicken... Happy either way. 🖥+🔑+🖥 = ⚖
@FedericoTrentonGame
@FedericoTrentonGame 2 жыл бұрын
I really like your videos
@abdellahbadaoui4042
@abdellahbadaoui4042 Ай бұрын
"back in the early 90s", proceeds to show a shot from the movie juice, love it.
@marindedic441
@marindedic441 11 ай бұрын
Great video. Just wanted to say that websockets also use TCP
@lanpartylandlord6123
@lanpartylandlord6123 2 жыл бұрын
great video. thank you
@tim000x3
@tim000x3 2 жыл бұрын
0:30 SHH graphic
@Radi0he4d1
@Radi0he4d1 2 жыл бұрын
I know I can read how X11 works on Wikipedia, but having Mental Outlaw explain it would be way cooler
@usemt9726
@usemt9726 2 жыл бұрын
Very good video man, thanks
@Lazabaza7752
@Lazabaza7752 2 жыл бұрын
Thanks bro
@ImOnSteamPsn
@ImOnSteamPsn 2 жыл бұрын
Thank you
@MessingWithCode
@MessingWithCode 3 ай бұрын
Great Video
@yunghart
@yunghart 2 жыл бұрын
Do you have a video explaining what proxies do/are and the different types?
@Topaztan
@Topaztan 2 жыл бұрын
Where was this when I was studying for A+? JK. Honestly a really good explanation. I'd love to see more content like this.
@azunixhype9420
@azunixhype9420 2 жыл бұрын
you have a great day too!
@lafrancedaniels
@lafrancedaniels 2 ай бұрын
Brings me back to college!
@Silikone
@Silikone 2 жыл бұрын
I'd love to know more about how terminals/shells work on Linux in general, remote and local.
@uknowme9078
@uknowme9078 2 жыл бұрын
3:15 this dude is correct. I be watching all my neighbors receive their packages. Wondering is that the mother load to take or some nail polish
@alexhiatt3374
@alexhiatt3374 Жыл бұрын
very helpful, thanks :)
@dirtyvinyl8817
@dirtyvinyl8817 2 жыл бұрын
Liked, comment, but my friends would give me that annoyed face if i shared. Still. no matter how many times i study and learn about SSH, i still come back to these videos and learn it again. *mainly because i always forget*
@Paul-oi2wz
@Paul-oi2wz 2 жыл бұрын
What I hoped to learn (which I can't find anywhere) is how do both parties exchange keys without outsiders listening in which will allow to however listening in on the key exchanges to decrypt everything.
@nxnu2119
@nxnu2119 2 жыл бұрын
Thanks man
@Dev-HK
@Dev-HK 2 ай бұрын
2:38 caught me off guard, luv y=u
@Jazztache
@Jazztache 2 жыл бұрын
Hey Mental Outlaw! What's your opinion on Godot? I'm jumping from Unity to Godot because it's free and open software and it runs better on Linux than Unity. Thanks!
Stop Using Tor With VPNs
11:41
Mental Outlaw
Рет қаралды 686 М.
SSH Keys
10:12
RobEdwards
Рет қаралды 93 М.
Ages 1 - 100 Decide Who Wins $250,000
40:02
MrBeast
Рет қаралды 106 МЛН
FOOTBALL WITH PLAY BUTTONS ▶️ #roadto100million
00:24
Celine Dept
Рет қаралды 115 МЛН
Nonomen funny video😂😂😂 #magic
00:29
Nonomen ノノメン
Рет қаралды 57 МЛН
SSH Full Course - EVERYTHING You Need to Know!
1:28:00
Learn Linux TV
Рет қаралды 541 М.
Hackers Leak Witcher 3 And Cyberpunk 2077 Source Code
10:21
Mental Outlaw
Рет қаралды 127 М.
Linux File System/Structure Explained!
15:59
DorianDotSlash
Рет қаралды 3,9 МЛН
I Bought a Recording Jammer. It’s Legal.
14:00
Linus Tech Tips
Рет қаралды 810 М.
Bad OPSEC - How The Feds Traced a Monero User
13:55
Mental Outlaw
Рет қаралды 441 М.
The Algorithm Behind Spell Checkers
13:02
b001
Рет қаралды 341 М.
This DarkWeb Market is Doing an INSANE Exit Scam
12:57
Mental Outlaw
Рет қаралды 210 М.
How To Create Your Own VPN (and why)
22:33
Mental Outlaw
Рет қаралды 1 МЛН
How Secure Shell Works (SSH) - Computerphile
9:20
Computerphile
Рет қаралды 805 М.
Робот зарядка на 65W🤖
0:36
serg1us
Рет қаралды 1,6 МЛН
Компьютер подписчику
0:40
Miracle
Рет қаралды 64 М.
phone charge game #viral #tranding #new #reels
0:18
YODHA GAMING RAAS
Рет қаралды 4,2 МЛН
Iphone yoki samsung
0:13
rishton_vines😇
Рет қаралды 9 МЛН
План хакера 🤯 #shorts #фильмы
0:59
BruuHub
Рет қаралды 923 М.