How SSH Works

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ก.ย. 2024
  • In this video I cover how SSH works
    ₿💰💵💲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 TH-cam channel goo.gl/9U10Wz
    and be sure to click that notification bell so you know when new videos are released.

ความคิดเห็น • 138

  • @mintymisfit
    @mintymisfit 3 ปีที่แล้ว +192

    I love the flexibility of being able to shut down a computer remotely with the shutdown command through ssh
    I'm too damn lazy to get up from my bed to physically turn my computers off lol

    • @wildmanjeff42
      @wildmanjeff42 3 ปีที่แล้ว +25

      works best with IPMI motherboards so you can turn them on too :) -- you thought YOU were lazy.....

    • @makuru.42
      @makuru.42 3 ปีที่แล้ว +2

      @@wildmanjeff42even better with some remote desktop programs and a bluetooth keyboard and mouse, now you don't even need to get up

  • @LinucNerd
    @LinucNerd 3 ปีที่แล้ว +214

    This "How X works" is a fantastic series!
    ... Even if it isn't intentional, please keep it going!

    • @t74devkw
      @t74devkw 3 ปีที่แล้ว +46

      How X works would be a nice suggestion for a next video :p

    • @LinucNerd
      @LinucNerd 3 ปีที่แล้ว +7

      @@t74devkw haha yeah

    • @thepigeongod2526
      @thepigeongod2526 3 ปีที่แล้ว +3

      @SlimyKlerburt i cannot understand what you mean. Can you say it more clearly pleas

    • @m_hrstv
      @m_hrstv 3 ปีที่แล้ว +2

      I would love a "How X works" video though.

    • @glitchy_weasel
      @glitchy_weasel 3 ปีที่แล้ว +2

      For those interested:
      tldp.org/HOWTO/XWindow-Overview-HOWTO/index.html
      is a short document that "aims to provide an overview of the X Window System's architecture, hoping to give peoplr a better understanding of why it's designed, which components integrate with X and fit together to provide a graphical environment."

  • @WindyWheel678
    @WindyWheel678 3 ปีที่แล้ว +128

    Stop bro, you're going to put the universities out of business.

    • @user-tm3fz7qx3s
      @user-tm3fz7qx3s 3 ปีที่แล้ว +32

      Nah, the universities are going to steal his videos and assign random work around his videos.

    • @cryptogods5428
      @cryptogods5428 3 ปีที่แล้ว +1

      @@user-tm3fz7qx3s not funny didnt laugh

    • @thecashewtrader3328
      @thecashewtrader3328 3 ปีที่แล้ว +3

      @@cryptogods5428 it's not funny, it's depressing

  • @riky8111
    @riky8111 3 ปีที่แล้ว +140

    Absolutely love the frequency of uploads

    • @geist453
      @geist453 3 ปีที่แล้ว +2

      yeah you would because your UBER ELITE and so advance that after a 10min video your PRO at whatever you touch! I love the frequency so i can comment to my best friends~!

    • @riky8111
      @riky8111 3 ปีที่แล้ว +12

      @@geist453 yeah surely that's what I meant. You absolutely got me

    • @fakerdopa6639
      @fakerdopa6639 3 ปีที่แล้ว +2

      @@geist453? HA

  • @Calajese
    @Calajese 3 ปีที่แล้ว +159

    SSH is something I had hardly ever used but after trying it I can't live without it anymore

    • @anonymous2596
      @anonymous2596 3 ปีที่แล้ว +1

      Super true.

    • @test-cp8uz
      @test-cp8uz 3 ปีที่แล้ว

      :thinking:

    • @whitepaperkat67
      @whitepaperkat67 3 ปีที่แล้ว +13

      I use it all the time to manage my self hosted imageboard running on a really crappie raspberry pi that i really need to just get rid of

    • @iustinraznic5811
      @iustinraznic5811 3 ปีที่แล้ว +1

      @@whitepaperkat67 oh that seems interesting, i use it too. what s your imageboard like tho

    • @InstaSound
      @InstaSound 3 ปีที่แล้ว +1

      what the heck did you use before using SSH then? 🤔

  • @CircaSriYak
    @CircaSriYak 3 ปีที่แล้ว +70

    All I did was install Linux Mint on a virus ridden computer because I was poor. Now I'm here, I use tmux and am learning vim. It can happen so fast.

    • @StripsMcKinsey
      @StripsMcKinsey 3 ปีที่แล้ว +9

      💪💪💪

    • @alkaupadhyay7650
      @alkaupadhyay7650 3 ปีที่แล้ว +8

      Same, ransomware attack on a 10yr old laptop. Now it can run some shit

    • @MESYETI
      @MESYETI 3 ปีที่แล้ว +1

      I'm stuck with a Raspberry Pi and since I found ssh I've always used the terminal with an ssh connection to my x86 server

    • @lordjellyfish4745
      @lordjellyfish4745 3 ปีที่แล้ว +6

      Damm bro, actualy same story from my grandma.

    • @realcartoongirl
      @realcartoongirl 3 ปีที่แล้ว +1

      could have pirated windows

  • @NicholasHenkey
    @NicholasHenkey 3 ปีที่แล้ว +61

    You know, this channel is saving me time left and right. I was using PuTTY for a bunch of stuff when I could have been using SSH in terminal

    • @arturlinnik2128
      @arturlinnik2128 3 ปีที่แล้ว +15

      But isn't putty just a gui which makes it easier to connect by ssh, telnet, etc?

    • @ozzieggg
      @ozzieggg 3 ปีที่แล้ว +6

      This can apply to anything with a cli base/alternative. Putty is a very neat and lean interface tho, i see no point in going cli unless you have 10+ servers you have to constanly juggle connections to or if putty is the final program forcing you to run a DE.

    • @NicholasHenkey
      @NicholasHenkey 3 ปีที่แล้ว +2

      @@arturlinnik2128 yeah, there's some applications for it. The problem I've had is that it never remembers my fonts/sizes for the many devices I'm connecting to. It needs to be saved for each

    • @elimgarak3597
      @elimgarak3597 3 ปีที่แล้ว +5

      @@arturlinnik2128 it can't get easier than to just open a term and write ssh user@ipaddress

    • @laurinneff4304
      @laurinneff4304 3 ปีที่แล้ว +8

      @@elimgarak3597 why even write the user? Just open ~/.ssh/config and add the following lines:
      Host (IP or domain, can specify more than one)
      User (username)
      and then you can just do ssh (host)

  • @lucafruehauf5447
    @lucafruehauf5447 3 ปีที่แล้ว +8

    Ah, when I first thought of setting up a Rpi as my home server, I was completely new to it and thought I'd need a separate screen, keyboard etc for that. Boy, am I glad that I gathered the balls to use SSH! It saved me tons of time and effort in the long run.
    Thanks for all the recent "How $THING works" videos, I really enjoy watching them.

  • @grahamharper8883
    @grahamharper8883 3 ปีที่แล้ว +30

    There's a small misspeak at 5:00. It should be "packet length" instead of "padding length", but you wiggled the cursor over the right thing. :p

  • @denisdelgadokikumotogracia7938
    @denisdelgadokikumotogracia7938 3 ปีที่แล้ว +5

    Just yesterday I was trying to undestand what Telnet and SSH are, thank you for your amazing and content!

  • @larry_the
    @larry_the 3 ปีที่แล้ว +39

    You made a cameo appearance in Luke's video today

    • @NicholasHenkey
      @NicholasHenkey 3 ปีที่แล้ว +16

      Good catch! Haha, the based guy in the book

    • @SaarlaneKretiin
      @SaarlaneKretiin 3 ปีที่แล้ว

      link?

    • @NicholasHenkey
      @NicholasHenkey 3 ปีที่แล้ว +5

      @@SaarlaneKretiin th-cam.com/video/-njY0u180lw/w-d-xo.html
      It's a joke about the 1:40 timestamp

  • @stargirl3352
    @stargirl3352 3 ปีที่แล้ว +3

    A quite useful command for people that got curious at tunneling http/https traffic through ssh as mentioned at 6:33
    "ssh -nfN -D 8080 user@remotehost"
    It will open up a non-interactive ssh connection to remotehost and bind the connection to port 8080 of your localhost.
    ssh will act like a socks server in that case.
    All you have to do then is to specify localhost:8080 as socks proxy in lets say firefox and all your traffic gets send through the ssh tunnel to the remotehost, which will then go for you in the internet and send back the requested information.
    There are also other useful commands, that I will not go into detail without request, like binding an entire different remote server to a local port (useful for when you want to connect to a server on port 5567 for example, but your firewall settings only allow connection over port 22, 80 and 443).

  • @officiallyjk420
    @officiallyjk420 3 ปีที่แล้ว +4

    I'm learning so much from this channel. Came for the memes, stayed for the amazing content.

  • @MIKAEL212345
    @MIKAEL212345 3 ปีที่แล้ว +11

    Is this the beginning of an introduction to networking playlist I see?

  • @leopearce649
    @leopearce649 3 ปีที่แล้ว +2

    Im loving your recent videos, keep it up!

  • @linuxphile9436
    @linuxphile9436 3 ปีที่แล้ว

    This channel is a goldmine of information like these

  • @angbangchang1356
    @angbangchang1356 3 ปีที่แล้ว

    You have no idea how good your videos are. I've been learning about Ubuntu servers and your video pops up. What a miracle! Keep up the good work!

  • @apoorv9492
    @apoorv9492 3 ปีที่แล้ว +7

    Can we expect a pen testing course soon :D

  • @goatworks734
    @goatworks734 3 ปีที่แล้ว

    You're killing it on the vids man, keep it up

  • @mcmurdostation7134
    @mcmurdostation7134 3 ปีที่แล้ว +1

    Thanks for the interesting video, would love it if you take a mini course on how the network works. Ip/tcp, telnet, dns,

  • @juillotine
    @juillotine 3 ปีที่แล้ว +1

    Here before this channel reaches 50k

  • @steveweast475
    @steveweast475 3 ปีที่แล้ว +1

    I have no idea what this is or what it's doing in my recommended but, great video

  • @ravensthor9547
    @ravensthor9547 3 ปีที่แล้ว

    Opera Browser use a SSH, this is good video for understanding what is SSH.

  • @linxuser897
    @linxuser897 3 ปีที่แล้ว

    One video everyday. Amazing!

  • @luki753
    @luki753 3 ปีที่แล้ว

    these kind of videos are really useful thank you

  • @elclippo4182
    @elclippo4182 3 ปีที่แล้ว +3

    I use telnet via ssh tunnel 😎

  • @basedboi8852
    @basedboi8852 3 ปีที่แล้ว +1

    you should do a video on rsa

  • @archuser7607
    @archuser7607 3 ปีที่แล้ว +1

    Nice work

  • @li82576
    @li82576 3 ปีที่แล้ว +2

    How X window works please

  • @dacho707
    @dacho707 3 ปีที่แล้ว

    Great content. You should make more networking and netsec stuff.

  • @rashie
    @rashie 2 ปีที่แล้ว

    👍👍

  • @andrewhunnter
    @andrewhunnter 3 ปีที่แล้ว +1

    love mental outlaw gang

  • @bsatyam
    @bsatyam 3 ปีที่แล้ว +1

    If the message authentication code gets corrupt then a perfectly fine payload gets thrown away. But that probably doesn't happen that often.

  • @caesarxinsanium
    @caesarxinsanium 3 ปีที่แล้ว

    This is a good video. pls make more.

  • @AntiWanted
    @AntiWanted 3 ปีที่แล้ว

    Good job

  • @RichardiOS275
    @RichardiOS275 3 ปีที่แล้ว

    the thumbnails explained it all

  • @TheFrantic5
    @TheFrantic5 3 ปีที่แล้ว

    Multi-player games still exist nowadays that are on the telnet protocol.

  • @urs915
    @urs915 3 ปีที่แล้ว

    Yes.

  • @celestialadministration
    @celestialadministration 3 ปีที่แล้ว

    What style font are you using?

  • @INeedAttentionEXE
    @INeedAttentionEXE 3 ปีที่แล้ว +2

    3:12 That sounds weird the way you say that. Notice a lot of English speaking Germans say it like that

    • @laurinneff4304
      @laurinneff4304 3 ปีที่แล้ว +1

      I didn't notice anything sounding weird there. But that might just be because I'm Swiss and not a native English speaker

  • @iamlegion990
    @iamlegion990 3 ปีที่แล้ว

    Would you do a video on systemd-analyze security?

  • @someguy5766
    @someguy5766 3 ปีที่แล้ว

    What's this? A third thing my college course actually (albeit briefly) explained?

  • @glitchy_weasel
    @glitchy_weasel 3 ปีที่แล้ว

    For those who use SSH, do you use public key authentication instead of password login even in a trusted network?
    I really only use SSH between my phone, desktop, an laptop while I'm at home. Despite this, I'm paranoid so I use ssh key which are themselves encrypted lol

    • @shallex5744
      @shallex5744 9 หลายเดือนก่อน +1

      yes i do
      you might as well, there's basically no extra effort involved, and i don't have to enter my password every time

  • @julesssssssss
    @julesssssssss 3 ปีที่แล้ว

    noice

  • @ffccardoso
    @ffccardoso 3 ปีที่แล้ว

    Oh dear... I don't any I just wanted an out the box solution to open outside files and edit then in my vscode as easy as is in notepad++ plugin...

  • @t0k4m4k7
    @t0k4m4k7 3 ปีที่แล้ว

    Dude what the fuck i was just looking at this topic

    • @t0k4m4k7
      @t0k4m4k7 3 ปีที่แล้ว

      I hope you don't also glow in the dark D:

  • @polyesterbebe
    @polyesterbebe 3 ปีที่แล้ว

    for the algorithm

  • @GibsonTab-q9f
    @GibsonTab-q9f 7 วันที่ผ่านมา

    Miller Donna Anderson Kevin Thomas Brenda

  • @rafaelpolonio4837
    @rafaelpolonio4837 3 ปีที่แล้ว +3

    Based black guy.

  • @VisionNick-n5f
    @VisionNick-n5f 20 วันที่ผ่านมา

    Lee Charles Johnson John Miller Richard

  • @Mecolo
    @Mecolo 3 ปีที่แล้ว

    But is how secure is ssh?

    • @Mecolo
      @Mecolo 3 ปีที่แล้ว

      I'm new to this so I would thanks someone that can explain me that

  • @tenancingogarcia
    @tenancingogarcia 3 ปีที่แล้ว

    Hey how can I solve this
    I have a ssh server
    I want to tunnel all my internet data from the server
    I have a ssh client
    I want the client to connect to the internet using the tunnel from the server
    I'm able to connect to the server using ssh server_username@server_ip_addres
    But client doesn't receive any internet from the server tunnel
    Can you help me figure out
    Is this possible

    • @Perseagatuna
      @Perseagatuna 2 ปีที่แล้ว

      I think you need to use your server as a proxy

  • @alejandroalzatesanchez
    @alejandroalzatesanchez 3 ปีที่แล้ว

    Early view :D

  • @Kwales66
    @Kwales66 3 ปีที่แล้ว

    I feel as though I know you?

  • @khoahuynh6884
    @khoahuynh6884 6 หลายเดือนก่อน +1

    This guy just copy Computerphile video word by word 😂

  • @Calajese
    @Calajese 3 ปีที่แล้ว +5

    First...?

    • @MentalOutlaw
      @MentalOutlaw  3 ปีที่แล้ว +4

      yep

    • @Calajese
      @Calajese 3 ปีที่แล้ว +1

      @@MentalOutlaw Very nice

    • @archlinus5066
      @archlinus5066 3 ปีที่แล้ว

      The first "first" actually first

  • @CaptainSamsquanch
    @CaptainSamsquanch 3 ปีที่แล้ว

    Your fuckin thumbails keep baiting me into watching videos on topics I already have a deep understanding of. Good job i guess

  • @azeds
    @azeds 3 ปีที่แล้ว

    8th

  • @rogo7330
    @rogo7330 3 ปีที่แล้ว

    ssh is just a $nc -l -p 22 -e /bin/bash (ya ya, not exactly and not so simple and not just /bin/bash, but you get it)

  • @nissengummihone
    @nissengummihone 3 ปีที่แล้ว +2

    Wayland is better than Xorg

    • @CoWinkKeyDinkInc
      @CoWinkKeyDinkInc 3 ปีที่แล้ว +5

      Nobody asked

    • @Maldito011316
      @Maldito011316 3 ปีที่แล้ว

      It depends on what you're trying to achieve. Or can Wayland handle Xorg compatibility everywhere when stuff isn't made for Wayland? Serious question
      CHeers

    • @BurgerKingHarkinian
      @BurgerKingHarkinian 3 ปีที่แล้ว +4

      It's ok to be wrong.

    • @nissengummihone
      @nissengummihone 3 ปีที่แล้ว

      @@Maldito011316 Xwayland is a compatability layer that works for most Xorg applications.

    • @nissengummihone
      @nissengummihone 3 ปีที่แล้ว +1

      @dvogit Agreed, only Gnome and Sway are good enough as of know. KDE Plasma is terrible on Wayland.