SSH Tunnels SIMPLIFIED!

preview_player
Показать описание
Using SSH tunnels is the most magical, incredible, HORRIBLY CONFUSING thing you can do with SSH. But once you understand how they're actually redirecting traffic, using them becomes second nature. Plus you can do sneaky things like getting around a firewall and accessing servers that are supposed to be hidden!

I promise it's worth the effort.

In this video I explain how both local and remote tunnels work, why some people call them "forward and reverse" tunnels, and some pretty crafty reasons you might want to use them.

NOTE: SSH tunnels, particularly remote tunnels, can be SUPER SNEAKY and powerful. That bypassing firewall thing I talked about is the real deal.

If you're enjoying this series, let me know in the comments!

#tunnels #ssh #firewall #linux

All My Online Homes are Here:

Check out my comic!
Рекомендации по теме
Комментарии
Автор

I was doing on-sight support for a hardware install at a hotel a few years ago. The remote tech's remote desktop software didn't want to play with my laptop, so he couldn't get into the switch he needed to configure, to make the install work. I asked if it had an SSH port he could use, if he were in the room with me. Of course it did, but that didn't do him much good. I ran a reverse SSH tunnel out to my public server, and pointed it at the switch on the local side. Had him SSH to my server on the given port, and he was magically connected to his switch. He was literally in awe of that trick, and demanded to know how it could be done.

JPBennett
Автор

Subscribed! Thanks to Network Chuck! Just finished your podcast with him. Great story! 33 yr dialysis and OHS survivor here learning as much as I can. Been an electrician for years, can't crawl under houses and in attics that well anymore. So tired of trying to live off disability. Thank you guys for sharing all this!

petergaudiomonte
Автор

Thanks, Shawn! Been doing this on and off for 15 years and always have to go look up the logic again because it's never explained very well. I think your explanation is the best I've seen and logically the easiest to remember.

brandonhunter
Автор

You are actually my hero when it comes to Linux! I started my journey learning from your videos in CBT nuggets!

dinz
Автор

Subscribed. I'm a lifetime follower now. You're the only person online who has explained this in a way I can understand.

Kimberwit
Автор

So I'm going to get straight to it this is pretty much one of the best explanations of what a SSH remote server connection is.

Ask somebody that is just starting in this journey which is cybersecurity, I can tell you that I have been looking on documentation to understand how this works but was not able to understand it until today thanks to this guy

TramitesNanos
Автор

100% perfect understanding. Thank you! Just what I needed.

toddfitzgerald
Автор

You're so right about "almost getting it" feeling. The only part I felt kinda confused was, since on ssh -R (remote one) you are going through 3 machines. The 127.0.0.1 in the second part confuses me on which machine that is for. I'll watch a few more times. Thanks for your videos!

kimaegaii
Автор

You are such a good teacher, I have taken some of your courses on CBT Nuggets. Hope your videos reach much more people.

prettybasic
Автор

O freaking K. I get it now. Thanks shawn. Awesome as always

swagmuffin
Автор

Your video randomly got in my recommendations, so just stopping by to say hi. I think you're a very elaborate teacher, if that's the right word.

I think something like what you explain in the video can be very useful for development and debugging, but I also learned something else. Because I saw you use "kermit" instead of typing out the server IP or domain name in the SSH command, it prompted me to research how it's done and subsequently create a ~/.ssh/config file, which I didn't know about but is actually super useful. Previously I was using .bash_aliases.

Either way, cheers!

dechobarca
Автор

Thanks Shawn, this video really help me understand the concept of tunneling. Just preparing for my final LPIC 1 exam. Love your wok!👍

Thomas_Grusz
Автор

I spent over a week on youtube as will as with super speed professor who explained it 30 ml seconds trying to understand it but I couldn't you caame and explained every thing in 20 minutes
You're great man I wish that you are my professor ;) mine is broken.

waleedarab
Автор

I just discovered the gateway ports option yesterday. It’s amazing !!! This video really explains the concept well. I really enjoyed it. Now I will be able to configure my nextcloud without a vpn which is just what I wanted.

ehmoratallar
Автор

Awesome! Please go on with your channel!

OARomanov
Автор

Many thanks for this very clear explanation!

joir
Автор

So it's basically port mapping between two computers (local & remote).

MoneylessWorld
Автор

Wow 😮. This I really have to watch again and try out.

smudb
Автор

“Like a good neighbor, stay over there.” -Fake Farm hahahaha

bullittstarter
Автор

I've been at this a decade and I still don't understand why this does not work for me..😠

DDBAA