SSH Tunneling Explained

Поделиться
HTML-код
  • Опубликовано: 28 май 2024
  • 🎵Teach me how to tunnel, teach me, teach me how to tunnel🎵 Ever gotten frustrated because your school or your work blocks fun/entertaining sites that can help you unwind and relax therefore increasing your productivity? SSH Tunneling is a good secure way to bypass firewalls that block sites. But that's not all! Order now and we'll also toss in local and reverse port forwarding! Check out the video to figure out what the heck I'm talking about and the magic SSH Tunneling has to offer!
    _____________________________
    📲🔗🔗📲 IMPORTANT LINKS 📲🔗🔗📲
    ______________________
    List of common TCP/IP ports - web.mit.edu/rhel-doc/4/RH-DOC...
    Putty - www.putty.org/
    Serveo - serveo.net
    _____________________________
    💰💰💰💰 SUPPORT THE SHOW 💰💰💰💰
    ______________________
    www.tinkernut.com/donate
    _____________________________
    🤔💡🤔💡 SUBMIT YOUR IDEAS 🤔💡🤔💡
    ______________________
    www.tinkernut.com/ideas
    ____________________________
    📢📢📢📢 Follow 📢📢📢📢
    ____________________________
    redd.it/5o3tp8
    instagram.com/
    / tinkernut
    / tinkernut

Комментарии • 303

  • @dicktonyboy
    @dicktonyboy 5 лет назад +253

    The simplest, very best explanation and comprehensive coverage I have seen on this subject for several decades - no ever!

    • @Tinkernut
      @Tinkernut  5 лет назад +19

      Thanks! That really means a lot :-)

    • @dicktonyboy
      @dicktonyboy 5 лет назад +1

      My pleasure.

    • @nestorwheelock1314
      @nestorwheelock1314 4 года назад +9

      This is exactly what I thought too! The ship annimation is what did it for me. Why has it taken so long for me to see that analogy used to explain ports, duh. Why have I not seen this used before?! Why didn't I think of that already?!! Awesome, definitely using it for staff training tomorrow.

    • @anonymousfan9703
      @anonymousfan9703 Год назад

      ​@Tinkernut
      Not the tunneling ELON_MUSK boaring company does 😂😂😂😂
      Best line

  • @donporter8432
    @donporter8432 5 лет назад +22

    FANTASTIC! I live in Thailand where nobody is available to help me figure out things like this, so I do my best to learn myself by Googling to death by chasing endless rabbits down multiple deadend rabbit holes! 😵 I've been fighting locally provided routers to set up port forwarding repeatedly over the years. Crappy at best instructions available, sometimes only in Thai! NOW I see tunnelling is all I need! My GOD man, THANKS! (Donation to come!)

  • @jppunnett
    @jppunnett 2 года назад +39

    I like this intro to tunneling. Thank you.
    One thing important to mention is that you are not "bypassing" the firewall--you are using a port allowed by the firewall to use a service (like RDP in the demo) the firewall blocks.

    • @chaoluncai4300
      @chaoluncai4300 Год назад +3

      this seems so trivial to overlook but yet is very crucial to understand, props for making this clear to neophytes like me!

    • @courier3567
      @courier3567 Год назад +3

      you just described a bypass.

    • @nilpo
      @nilpo 9 месяцев назад +1

      Of course, if the firewall is blocking RDP, it's almost certainly also blocking SSH.

  • @loray2k
    @loray2k 5 лет назад +9

    I love how you explain things, and the visuals that you use make it easier to understand. 👍🏻

  • @michaelh7538
    @michaelh7538 5 лет назад +100

    That is a lot of information to absorb. Thank you, I will have to go through it in super slow-mo.

    • @Synthels
      @Synthels 3 года назад +8

      @Nobody Knows ohh we've got a smart guy here back off everyone

    • @digantchandel4152
      @digantchandel4152 Год назад

      @@Synthels you are a special one aren't you

    • @Synthels
      @Synthels Год назад

      @@digantchandel4152 he deleted the comment, can't you tell?

  • @xiaoyi982
    @xiaoyi982 Год назад

    I've read a couple of posts on ths subject, I was not satisfied wth the explanations and I kept looking. This is the final destination for me. Well done.

  • @eliavv
    @eliavv 3 года назад +3

    By far, the best explanation on ssh tunneling I've seen!

  • @VanBhardwaj
    @VanBhardwaj 4 года назад +1

    You are the coolest person making things so simple and exciting. Wish I could see you making more videos around networking!

  • @realhusky
    @realhusky 5 лет назад +1

    This was great! Excellent explanation. Can't believe it took me this long to find your channel!

  • @NotNazuh
    @NotNazuh 2 года назад

    Just watched your video on port forwarding, your explanations are so easy to understand.

  • @georgesmith3022
    @georgesmith3022 5 лет назад +47

    if you want to connect to your home computer from work, you have to specify an external IP address (and not internal like the did). I know you know it, but you should mention it. Also you need to enable port forwarding on your adsl router, to forward the public ip, port, to local port, local ip

    • @yiannisserpico2646
      @yiannisserpico2646 5 лет назад

      Nice explanation, sir!! Really appreciate that.

    • @Gregorydaerr1971
      @Gregorydaerr1971 4 года назад

      i may have to rewatch this because i think my question. is answered in last comments he makes.....

    • @markarca6360
      @markarca6360 4 года назад +2

      Don't forget DDNS. Remember, a standard residential DSL/cable/fiber Internet connection uses a dynamic IP address (unlike SME or enterprise Internet, which always have a static IP address).

    • @bunny.bunbob
      @bunny.bunbob 8 месяцев назад

      thank you. stuff like that is really confusing if youre new to a concept

  • @davidlee50
    @davidlee50 5 лет назад +3

    Being lefthanded, it is kinda nice seeing boats and berthing explanations. thanks.

  • @T3chBeatz
    @T3chBeatz 4 года назад +1

    Your videos in general are pretty "Darg-an-spectacular". Another amazing explanation! [*clapping hands*]

  • @sween187
    @sween187 5 лет назад +573

    How to get fired from work.

    • @RAGHAVENDRASINGH17
      @RAGHAVENDRASINGH17 5 лет назад +21

      Easy , stopped going then they will send letter saying u r fired 😂

    • @donzodabozo8503
      @donzodabozo8503 5 лет назад +15

      @@RAGHAVENDRASINGH17 that's literally what happened to me

    • @erlandodk
      @erlandodk 4 года назад +19

      Also how to get your home system pwned.. 3389 open to the public...😳

    • @shady4tv
      @shady4tv 4 года назад +9

      @starscreamm
      Honestly probs a lot more secure than RDP since it's made by the OpenBSD guys (Security nuts).
      If you have to leave ssh open to the public configure something like fail2ban and set up ssh keys instead of passwords.
      But a good rule of thumb is to not leave any unused ports open.

    • @nestorwheelock1314
      @nestorwheelock1314 4 года назад +2

      @@shady4tv Another solution I favor is having no ports open on the host to begin with, openssh server listening only on the loopback, and the firewalled host initiating a reverse tunnel to a hardened bastion/jump server.

  • @MirkWoot
    @MirkWoot 4 года назад

    Awesome!, this has been great help to wrap my head around the final pieces of how this work (working with same things in school).

  • @emcsparkles
    @emcsparkles Месяц назад

    Thank you! Such a great, no BS explaination.

  • @crocodiledondii
    @crocodiledondii 4 года назад

    Cool stuff! Thanks for an educational and informative presentation!

  • @jahc00n89
    @jahc00n89 3 года назад

    I knew what ssh was this whole time I just never knew executing it was easy asf. U deserve my sub

  • @wbjehwbejjhbejdhwe965
    @wbjehwbejjhbejdhwe965 5 лет назад

    The better tutorial in video about SSH Tunnel and Sockets Proxy. Thank you very much!

  • @FlameSoulis
    @FlameSoulis 5 лет назад +6

    This is what I do with my own server used for VR work. The administration panel is on a non-standard port and the only protection is a basic username/password. To really secure it, the port is not exposed to the internet and has no username/password requirement, meaning a local connection is needed, which is what is normally tunneled.
    A REALLY clever trick is to use a similar idea with say PHPMyAdmin. It has an access rule to ONLY allow the server itself to access it. This forces the entry to be from a tunneled SSH session.

  • @kenwarren2574
    @kenwarren2574 2 года назад

    Great video. Excellent instructions. Very clear. Thanks

  • @joevrolijk
    @joevrolijk 2 года назад

    Nice, Clear, to the point with some nerdy humor... First video i've seen from you, directly subbed... Thanks!

  • @mimikatz
    @mimikatz 4 года назад +1

    Thanks, I am doing my OSCP at the moment and everything, even the buffer overflows have been totally fine, but the abstractness of SSH port forwarding (reverse specifically) has me baffled! This video has helped

  • @meryemeaitahmed-brahim3082
    @meryemeaitahmed-brahim3082 6 месяцев назад

    You make it easier to understand, thank you!

  • @unskeptable
    @unskeptable 5 лет назад

    Great information to get started Thanks!

  • @Chief-VR
    @Chief-VR 3 года назад

    Thanks for the video. I literally only heard SSH and nothing about what it was. Im going to be using this.

  • @johnswilley6764
    @johnswilley6764 2 года назад

    I love it! And I subscribed. Best wishes Sir!

  • @conicbrand5931
    @conicbrand5931 4 года назад +1

    thank you sooo much for this, and for that in port forwarding Mr Tinkernut

  • @fuba44
    @fuba44 5 лет назад

    This was a great video, thank you very much!

  • @zahidshakeel1142
    @zahidshakeel1142 4 года назад

    you are a life save, God bless you, Thankyou so much

  • @sokpisethlalalanno
    @sokpisethlalalanno 3 года назад

    i don't know but i really like your videos man , so clean , good job

  • @mathewsjoy8464
    @mathewsjoy8464 2 года назад

    I have no use for any of this but defiantly good to know and widened my knowledge!

  • @hridayjain5888
    @hridayjain5888 4 года назад +1

    bruh you deserve more recognition

  • @WaqasKhan411
    @WaqasKhan411 4 года назад

    Thank you for uploading such a good video and explanation of ssh tunnels

  • @yeppa31
    @yeppa31 2 года назад

    its the best explanation of ssh tunneling. Thanks a lot!

  • @ottisseaborn
    @ottisseaborn 4 года назад

    Great stuff.. ive been wondering how to tunnel outside of a secure network. Im going to try this at work when i get a chance. Ofcourse with permission!

  • @ajaykumaraluvala
    @ajaykumaraluvala 3 года назад

    Simple explanation...working perfectly

  • @alekseikonstantinov3868
    @alekseikonstantinov3868 2 года назад

    U r the best :) Many thx. The explanation is step by step and quite easy to understand. Well done!

  • @bergolho
    @bergolho 5 лет назад +1

    Nice tips dude !

  • @patrickjones9474
    @patrickjones9474 2 года назад

    Very good explanation

  • @vladislavkaras491
    @vladislavkaras491 9 месяцев назад

    Very great info!
    Thanks!

  • @aaronbaldwin4900
    @aaronbaldwin4900 3 года назад

    this is a great explanation. Thanks, man

  • @atharva741
    @atharva741 5 лет назад +2

    i JUST LOVED THIS VIDEO PLEASE DO MORE NETWORK VIDEOS

  • @xila8861
    @xila8861 Месяц назад

    wow man, this is a really great video.

  • @AntonioIdeguchi
    @AntonioIdeguchi 5 лет назад +36

    You can't imagine how many people asks me about how to tunnel everyday. Will share it with everybody o/

  • @afterhours39
    @afterhours39 5 лет назад

    Thanks for this video. It answered a number of questions I've had about SSH. I'd subscribe, but I'm already a subscriber.... :-)

  • @Amit-cc6db
    @Amit-cc6db 4 года назад

    I like the way u teach ....keep on buddy

  • @Hakeeeeeeem
    @Hakeeeeeeem 4 года назад +3

    This video is beautiful and i want to cry, i love you dude, please keep your videos coming you are a true plus to humanity

  • @attabari9156
    @attabari9156 4 года назад

    Very well explained...thanks

  • @parleckius
    @parleckius 5 лет назад +6

    Very nice explaining

    • @seshurao6652
      @seshurao6652 5 лет назад +1

      Sir that's very good . Good Explanation with good Example. I loved it

  • @meronmeresa8583
    @meronmeresa8583 2 года назад

    I'm subbing just because you were singing "teach me how to tunnel". I didn't think I would be laughing before the 1 minute mark.

  • @anonymous6666
    @anonymous6666 2 года назад

    simple and extremely helpful. thx

  • @ramstime6846
    @ramstime6846 3 года назад

    amazing explanation with examples and animation :-)

  • @trail000
    @trail000 4 года назад

    Awesome representation

  • @markarca6360
    @markarca6360 4 года назад +3

    Examples of protocols that use SSH tunneling:
    SFTP (Secure FTP; also uses port 22), and
    SCP (Secure Copy Protocol). Actually you can tunnel virtually any transfer protocol over SSH.

  • @hamid.naeemabadi
    @hamid.naeemabadi 2 года назад

    This is GREAT. Thank You.

  • @pierrenovell7135
    @pierrenovell7135 2 года назад

    brilliant explanation

  • @ethicalhackingshell1865
    @ethicalhackingshell1865 4 года назад

    very nice explanation.

  • @dillon4321
    @dillon4321 4 года назад

    Great guide!

  • @webtrafficking
    @webtrafficking 5 лет назад

    great, interesting and with expertise. thanks

  • @_mv7_
    @_mv7_ Месяц назад

    Thank You So Much ❤

  • @Everthow1984
    @Everthow1984 3 года назад

    The best explanation Ever!!!!

  • @shavebunny
    @shavebunny 3 года назад

    Thank you sir, now I get it.

  • @fazlulfazal9508
    @fazlulfazal9508 4 года назад

    I love you, BRO. Your video helped.

  • @TimeLords910
    @TimeLords910 3 года назад

    ssh has made me intreinged i've been looking at different vids about it and your's was easier to understand

  • @KowboyUSA
    @KowboyUSA 5 лет назад +1

    This is useful information, indeed.

  • @ronkierstead
    @ronkierstead Год назад

    Brillant video. I was able to configure the x11 "xrdp" server installed on my Raspberrypi 4 to be accessible by my work computer over Windohs RDP client. Thank you! FWIW I found that Git-scm client for windows to be awesome as a SSH and bash client on windows.

  • @Galactic.Fornex
    @Galactic.Fornex 2 года назад

    Thank you so much !!!!

  • @IllevensKO
    @IllevensKO 4 года назад

    as soon as I saw the seaport graphics I got nostalgic, exited the video and went browsing 90s strategy games

  • @CarlosHasAIdea
    @CarlosHasAIdea 4 года назад

    love your videos!!

  • @iaroslavdavydiak6439
    @iaroslavdavydiak6439 2 года назад

    Just awesome👍

  • @josemfacuna6754
    @josemfacuna6754 4 года назад

    That was great! Thanks

  • @nikalleyne77
    @nikalleyne77 3 года назад

    Good stuff champ!

  • @sagargoyal8746
    @sagargoyal8746 2 года назад

    Simply Awesome

  • @doubletoned5772
    @doubletoned5772 2 года назад

    You are a gem!

  • @LaneLarson
    @LaneLarson 4 года назад

    Great video.

  • @samueltorres2485
    @samueltorres2485 4 года назад

    Your intro song is coooool! :)

  • @gwgux
    @gwgux 4 года назад

    SSH Tunneling is great. I don't recommend doing it with a work and home PC, but if you put up your own webserver in the cloud for work or for you own personal website, it's a good way to manage it remotely and transfer files. You can also put up an SSH proxy server that only lets you connect with a certificate and key pair and then tunnel another SSH session through that proxy to the webserver that uses a different authentication method for multi-factor authentication and more than one layer of protection for it. Then you set the the webserver to only allow SSH connections in from the proxy.

  • @the_master_coder2655
    @the_master_coder2655 5 лет назад

    great video as always! cant believe those 10 people who disliked smh .-.

  • @rfaikbal
    @rfaikbal 5 лет назад +1

    wow! You have just made me realized how vulnerable Internet is.

    • @UmVtCg
      @UmVtCg 4 года назад

      It's not actually

  • @pierodicarlodallabona
    @pierodicarlodallabona 2 месяца назад

    Thanks bro

  • @karimkazia
    @karimkazia 4 года назад

    awesome thank you.

  • @andreasalme5731
    @andreasalme5731 4 года назад

    Great stuff

  • @cokomi61
    @cokomi61 5 лет назад

    Well Sayid, Thx

  • @ownplz5632
    @ownplz5632 5 лет назад +74

    I would highly suggest you do not try to connect to your home computer in any capacity from an enterprise network. You will set off all types of red flags. This is useful in a home setting but I consider this NSFW because you could be punished and open your company systems vulnerable.

    • @Tinkernut
      @Tinkernut  5 лет назад +28

      I agree with all of that. These were just hypothetical examples to explain a point.

    • @scienceblossom6197
      @scienceblossom6197 5 лет назад +23

      @@Tinkernut Thanks I love it when someone teaches dangerous things

    • @BreadWinner330
      @BreadWinner330 4 года назад +1

      Some folks like me use their own computers at work as well

    • @techworld7716
      @techworld7716 4 года назад +2

      @@Tinkernut This is to be taken as learning security and ways how security can be beaten, it will help to strengthen technical controls.

    • @nestorwheelock1314
      @nestorwheelock1314 4 года назад +16

      Or you could tunnel ssh through TLS on port 443 and see if they notice. If they do you should explain that this problem would be prevented if they implemented a whitelist firewall policy for outbound traffic. And then you should ask for a raise. Maybe times are different now but when I worked for the corporation they never noticed my tunnel coming from my cubicle, or noticed my need for a raise.

  • @samhoward8909
    @samhoward8909 2 года назад

    Awesome explanations. I liked reversed ssh the most. When doing a reverse ash to say the work computer, will it time out or stay that way long enough for you to get home and access it?

  • @brandon_wallace
    @brandon_wallace 2 года назад

    Nice!

  • @FF7824
    @FF7824 Год назад

    Great!!

  • @VinnyMartello
    @VinnyMartello 3 года назад

    This is all very new to me so I’m enjoying being exposed to new information.

  • @just_some_bigfoot_hacking_you
    @just_some_bigfoot_hacking_you 2 года назад

    Should talk about port security. Shutting down closed ports. Some "closed" ports aren't really closed as it says, you can still listen and establish connection.

  • @seventhspirit
    @seventhspirit 3 года назад

    Very good and clear explaination :)
    You have got like you have got sub and "now we're cooking :D"

  • @user-xj2kj1jv8l
    @user-xj2kj1jv8l 4 месяца назад

    me da ganas de quitarme lentamente la existencia cada vez que veo este video
    ATTE Yoel Pérez Alted

  • @alessandrozanzi7553
    @alessandrozanzi7553 5 лет назад +1

    Nice job!
    But I have to ask you something:
    In the video where you explained how to host Wordpress on the Raspberry Pi you talked about SSH Tunneling and how it is more secure than simple port-forwarding.
    Could you show how to make the website of that video aviable on the Internet with a top-level domain and SSH Tunneling (or in some other way without putting at risk your home network)?
    That would be very helpful!

    • @brandonhirdler
      @brandonhirdler 4 года назад

      Alessandro Zanzi the best thing you can do is read up on how to secure your network via firewall and keep every program you have up to date with the latest patch.

  • @jagataai
    @jagataai Год назад

    Very good explanation.
    Just one thing I wish to ask is, if network connection is interrupted what will happen to the ssh tunnel?
    Whether it has feature to reestablish automatically just as normal LAN or WiFi link?

  • @marcello4258
    @marcello4258 2 года назад

    I read about 2h about ssh tunneling today, got this suggested.. 5 mins to cover all.. gj bro! You'd have a new subscriber. but ehh.. windows is so ugly I can't stand it.

  • @SuperBoi45
    @SuperBoi45 2 года назад

    Thx

  • @abhisheksharma6474
    @abhisheksharma6474 4 года назад +1

    this is a pretty good explanation but it would be easier to understand if it were a bit more comprehensive in explaining which port is accessed by which device and do i need to specify a port forwarding setting on my home router...

  • @hj45lp
    @hj45lp 5 лет назад

    Combine reverse tunnel with “touch” of a file on some web server. If you have access to that server, you can touch the file, the machine behind variable IP and firewall queries that file ever so often and establishes the reverse tunnel only when requested. You can then ssh into that machine via reverse tunnel.

  • @reddunkey9267
    @reddunkey9267 4 года назад

    Usefull

  • @clemf3785
    @clemf3785 4 года назад

    merci !