Hak5 - SSH Forwarding: Local vs Remote with examples, Hak5 1113 part1

Поделиться
HTML-код
  • Опубликовано: 21 ноя 2024

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

  • @TheAfreitag
    @TheAfreitag 3 года назад +21

    8 years later and this is still one of the best resources I've found to understand this concept. Great job !

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

    I really struggled to understand this and now I’m finally starting to grasp it. Not sure why this blows my mind so much, almost feel like the confusion comes from overthinking it.

  • @AnantaAkash.Podder
    @AnantaAkash.Podder 4 месяца назад

    One of the Finest Resource to learn about Port Forwarding...

  • @crabsynth3480
    @crabsynth3480 6 лет назад +8

    I can't believe I still run into great shows on RUclips which have existed for decades yet I had no idea about their existence.... ... Kudos to entire team.

    • @statxs
      @statxs 19 дней назад

      ikr

  • @donquixote406
    @donquixote406 8 лет назад +5

    Great stuff. All too often you get "how to" specifics or "how it works" abstractly. Thanks for providing both at once.

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

    Thank you! I still send this video to friends who are trying to understand SSH Tunneling. Very well explained. Thank you :)

  • @hifedz
    @hifedz 8 месяцев назад

    Love you guys so much ❤ shannon darren digital OGs

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

    Very clear explanation. Thank you!!

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

    Awesome video. Informative, well-produced, well-edited, useful and provides practical information

  • @redwiz1973
    @redwiz1973 8 лет назад +18

    lo is not "local", is loopback

  • @DarrenKitchen
    @DarrenKitchen 12 лет назад +2

    about 3 weeks ago. helps that we upload super high res too ;)

  • @mikeb5745
    @mikeb5745 11 лет назад +1

    Great example! Maybe it's my Ubuntu 10.10, but it was my experience that the configuration you demonstrated for remote forwarding only allows forwarding from the server "localhost". To configure to allow forwarding of any host on the network connected to the evil server, the /etc/ssh/ssh_config file had to be modified with a line added:
    GatewayPorts clientspecified
    and, the host IP had to be specified in the ssh command like so:
    ssh -R evil-server:8080:localhost:80 user@evil-server

  • @80robina
    @80robina 2 года назад

    Ssh tunneling is awesome

  • @lucifer8163
    @lucifer8163 7 лет назад

    I'm a fan of your work. keep going

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

    It could be even easier to understand if the ip address / computer names are also written down in the picture. But this video did help me undertand the use of -L, which aonther video had me confused.

  • @5445252
    @5445252 12 лет назад

    I allays love staying up till 12 just to watch your guys vids. Any body ells agree?

  • @gana0000000000
    @gana0000000000 8 лет назад

    Great job guys. I loved it

  • @TheHermitHacker
    @TheHermitHacker 7 лет назад +3

    There are 2 things never discussed that are required:
    1) You need to have a publicly accessible server, such as a hosting account with SSH enabled.
    2) The ssh server must have GatewayFowardering turned on in the SSH server settings, which may not be possible on some hosting providers.

  • @g_mb
    @g_mb 11 лет назад

    Great video ! Thanks !

  • @john_rambo_27098
    @john_rambo_27098 7 лет назад

    nice job

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

    👍👍

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

    Greate video. But there is a common mistake that happens in most of the SSH tuitors and make the second sample confusing. The port opened on local host and remote host are the same-5901. So it is hard to understand the exact meaning of the port1:IP:port2.

  • @b213videoz
    @b213videoz 9 лет назад +35

    Cut the Britny Spears cheap pop garbage talk - do the explanation, you can di it really well

  • @J2EEyoung
    @J2EEyoung 12 лет назад

    thanks for showing that i was wondering local vs remote from the first ssh proxy episode

  • @AjaySharma-jv6qn
    @AjaySharma-jv6qn 7 лет назад

    Funny Techies.. Keep Posted...:)

  • @ThomasMcLoughlinNASA
    @ThomasMcLoughlinNASA 12 лет назад

    You could also use OpenVPN to setup a secure local network between you and your server(s)

  • @Jordan-hz1wr
    @Jordan-hz1wr 2 года назад

    Unbenounced to him the Log4j vulnerability awaited patiently in the shadows.

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

    ssh://

  • @deepakevgoogle
    @deepakevgoogle 6 лет назад

    explanation of the concept was very good . Could have avoided those unwanted animations .

  • @Oscarrudnas
    @Oscarrudnas 12 лет назад

    Have something happend to the quality on RUclips? This is so good!

  • @Jisamaniac
    @Jisamaniac 12 лет назад

    Snubs "A firewall, oh no! Just like prison. You can get in, but you can't get out." lol

  • @passnorbu
    @passnorbu 11 лет назад +1

    does it mean that GatewayPorts "clientspecified" is port 8080 ?

  • @Lorv0
    @Lorv0 12 лет назад

    awesome stuff : )

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

    Hey folks, nice vid. Am I wrong in saying that the 'localhost' refers to the laptop when it's -L and the server when it's -R?

  • @inanme
    @inanme 12 лет назад

    yes that was awesome...

  • @DarrenKitchen
    @DarrenKitchen 12 лет назад

    Install gnome or your WM of choice ;)

  • @chunkMunky123
    @chunkMunky123 12 лет назад

    Damn girl! You can sing!

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

    Can this be used as a "manual" way of doing what Metasploit's autoroute does?

  • @pilovali
    @pilovali 12 лет назад

    Darren, i've got a question: I use PuTTY on Windows to use SSH Forwarding, but if i'm using the remote option. If I run apache for Windows on the client (192.168.2.123:80), and forward it to the Linux server, i can only access it on the linux-box (localhost:80), and not outside my network, and i've open the ports of the linux-box. Can you help?

  • @inanme
    @inanme 12 лет назад

    Darren Hi,
    Could you pls make a video about chaining the ssh tunnels? for instance when you want to access to machine in a LAN only accessible via jump box.

  • @cesaralejandroibarraquirar3566
    @cesaralejandroibarraquirar3566 6 лет назад

    Any tip o risk of letting some service exposed to certain port in a remote server that it is accessible to everyone on that port?

  • @GhostofFranky
    @GhostofFranky 6 лет назад

    Now if someone connected to that vml server through port 5901 why would it not redirect back to your laptop? Since those two ports appear to be bound together. If You could help me clear that up I would greatly appreciate it.

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

    I love shannon

  • @EnitinEnitin
    @EnitinEnitin 6 лет назад

    Do you have to change some config files for this to work? Probably but you are not saying anything about it.

  • @HPDStudios
    @HPDStudios 6 лет назад

    I just cannot keep track of where you type the command... It's obviously clear in your all's heads but in theory you can type the command on the laptop or on the server and I can't tell which numbers align with with side of things. I'm trying to get a remote debugger setup for node.js scripts and I just can't seem to get the job done. Insights would be helpful

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

    We all know what that firewall looks like

  • @issararab7845
    @issararab7845 6 лет назад

    can we describe more what is user@host? can it be the public ip address of the host? how do we set the "user" name ? and another thing is the password that you typed when you run the command. How do we set those?

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

    Does it only works with tcp?

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

    still not clear on the reverse SSH.. because both the connection looks same.. may be if we can explain with an better example may help with cloud involved

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

    Very nice explanation but I dont understand something, why is the girl there? IS it the 5318008?

  • @maxpolaris99
    @maxpolaris99 6 лет назад

    Very ambiguous. More network details needed like actual network ip addresses.

  • @korelion14
    @korelion14 12 лет назад

    nice one :D
    But what can I do when I´m using a Wirelles-router and it only shows my network ip ex. 10.0.0.1...
    Is my WAN important or not ?
    Please help :(

  • @himelsarkar137
    @himelsarkar137 7 лет назад

    Is it possiable in win rat ?

  • @blackcomputers
    @blackcomputers 12 лет назад

    Why is 'Snubs' on Hak5?

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

    I still do not understand the SSH port forwardig syntax? Whats up with this 80:localhost:8080?
    Is there more clearer way to understand this syntax? I mean what the hell ssh developers! XD

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

      As I remember the main clue for remembering port forwarding is to understand that MyPort:RemotePort and this rule/convention almost everywhere applies in all Linux utilities.
      And let's not forget about the manual :)

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

      @@maratgainutdinov9722 Thankyou for your reply. I read the manual couple of times (skimmed) and now I understand the syntax. I prefer the more explicit version like localhost:80:localhost:80 for source and destination sockets. Thankyou for being kind and patient. (Y) Lets learn something new now. Cheers

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

    Guys you make really good videos, but please try to stick to the point and minimize side noise, which you have a ton of, in your videos. No one has enough time to wait through all the unnecessary stuff to get to the actual technical content, they were here for, in the first place.

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

    Does Shannon still here?

    • @hwy9nightkid
      @hwy9nightkid 3 месяца назад

      she has her own channel now

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

    Subtitles please?
    How about if company network administrator has blocked port 22 on company side?

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

      They wont.. because dont know how else to manage the servers...

  • @Jisamaniac
    @Jisamaniac 12 лет назад

    Let's be adult children.

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

    Lot of wasting time, not a behaviour or techie.. Long time to get to point, finally got to point and that too hovering a circle.

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

    sshd??? what is tyhe best free service for debian?, sorry newb here

  • @samrichardson2842
    @samrichardson2842 8 лет назад

    My ISP Blocking All Ports.What to do ??

    • @jonathanemery9557
      @jonathanemery9557 7 лет назад +2

      Sam Rich Get A New ISP xD
      But On A Serious Note Get A VPN

    • @ironrose6
      @ironrose6 6 лет назад

      Sam Richardson Use ngrok or pagekite. They're astonishingly good at bypassing that kind of nonsense.

  • @shateela.chowdhury3805
    @shateela.chowdhury3805 9 лет назад +21

    That girl disturb me much! plz stop talking

    • @J2897Tutorials
      @J2897Tutorials 9 лет назад +2

      Shateel Chowdhury Jealousy gets you no where.

    • @ifoundalotgoodcast
      @ifoundalotgoodcast 7 лет назад +2

      The girl actually make normal people easy to understand tec. things.

    • @sravanimandava4663
      @sravanimandava4663 7 лет назад +2

      Yup thats true but not during the time when he is explaining. Its disturbing and annoying. May be they have to rehearse a little more not to talk in between.

  • @lakshyak96
    @lakshyak96 12 лет назад

    first !!!

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

    Dislike, why dont you add some more info on dynamic like you did for rest of two. :(

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

    Nice video, but the girl is sort of annoying..

  • @Y80-d2j
    @Y80-d2j Год назад

    confusing stuff, talk a lots

  • @WhiteHeart_infosec
    @WhiteHeart_infosec 6 лет назад

    marry me shanon ......plz........plz.....plz