How SSH Works

Sdílet
Vložit
  • čas přidán 4. 01. 2021
  • 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 CZcams channel goo.gl/9U10Wz
    and be sure to click that notification bell so you know when new videos are released.
  • Věda a technologie

Komentáře • 138

  • @mysfitmyrth
    @mysfitmyrth Před 3 lety +190

    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 Před 3 lety +25

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

    • @makuru_dd3662
      @makuru_dd3662 Před 3 lety +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 Před 3 lety +216

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

    • @claudespeed13579
      @claudespeed13579 Před 3 lety +46

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

    • @LinucNerd
      @LinucNerd Před 3 lety +7

      @@claudespeed13579 haha yeah

    • @thepigeongod2526
      @thepigeongod2526 Před 3 lety +3

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

    • @m_hrstv
      @m_hrstv Před 3 lety +2

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

    • @glitchy_weasel
      @glitchy_weasel Před 3 lety +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."

  • @riky8111
    @riky8111 Před 3 lety +139

    Absolutely love the frequency of uploads

    • @geist453
      @geist453 Před 3 lety +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 Před 3 lety +12

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

    • @fakerdopa6639
      @fakerdopa6639 Před 3 lety +2

      @@geist453? HA

  • @WindyWheel678
    @WindyWheel678 Před 3 lety +124

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

    • @user-tm3fz7qx3s
      @user-tm3fz7qx3s Před 3 lety +29

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

    • @cryptogods5428
      @cryptogods5428 Před 3 lety +1

      @@user-tm3fz7qx3s not funny didnt laugh

    • @thecashewtrader3328
      @thecashewtrader3328 Před 2 lety +3

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

  • @Calajese
    @Calajese Před 3 lety +159

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

    • @anonymous2596
      @anonymous2596 Před 3 lety +1

      Super true.

    • @test-cp8uz
      @test-cp8uz Před 3 lety

      :thinking:

    • @whitepaperkat67
      @whitepaperkat67 Před 3 lety +14

      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 Před 3 lety +1

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

    • @InstaSound
      @InstaSound Před 3 lety +1

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

  • @NicholasHenkey
    @NicholasHenkey Před 3 lety +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 Před 3 lety +15

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

    • @ozzieggg
      @ozzieggg Před 3 lety +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 Před 3 lety +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 Před 3 lety +5

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

    • @laurinneff4304
      @laurinneff4304 Před 3 lety +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)

  • @CircaSriYak
    @CircaSriYak Před 3 lety +66

    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 Před 3 lety +9

      💪💪💪

    • @alkaupadhyay7650
      @alkaupadhyay7650 Před 3 lety +8

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

    • @MESYETI
      @MESYETI Před 3 lety +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 Před 3 lety +6

      Damm bro, actualy same story from my grandma.

    • @realcartoongirl
      @realcartoongirl Před 3 lety +1

      could have pirated windows

  • @grahamharper8883
    @grahamharper8883 Před 3 lety +32

    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

  • @larry_the
    @larry_the Před 3 lety +40

    You made a cameo appearance in Luke's video today

    • @NicholasHenkey
      @NicholasHenkey Před 3 lety +16

      Good catch! Haha, the based guy in the book

    • @SaarlaneKretiin
      @SaarlaneKretiin Před 3 lety

      link?

    • @NicholasHenkey
      @NicholasHenkey Před 3 lety +5

      @@SaarlaneKretiin czcams.com/video/-njY0u180lw/video.html
      It's a joke about the 1:40 timestamp

  • @lucafruehauf5447
    @lucafruehauf5447 Před 3 lety +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.

  • @stargirl3352
    @stargirl3352 Před 3 lety +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).

  • @MIKAEL212345
    @MIKAEL212345 Před 3 lety +12

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

  • @angbangchang1356
    @angbangchang1356 Před 3 lety

    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!

  • @denisdelgadokikumotogracia7938

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

  • @leopearce649
    @leopearce649 Před 3 lety +2

    Im loving your recent videos, keep it up!

  • @officiallyjk420
    @officiallyjk420 Před 3 lety +4

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

  • @goatworks734
    @goatworks734 Před 3 lety

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

  • @linuxphile9436
    @linuxphile9436 Před 3 lety

    This channel is a goldmine of information like these

  • @linxuser897
    @linxuser897 Před 3 lety

    One video everyday. Amazing!

  • @luki753
    @luki753 Před 3 lety

    these kind of videos are really useful thank you

  • @juillotine
    @juillotine Před 3 lety +1

    Here before this channel reaches 50k

  • @steveweast475
    @steveweast475 Před 3 lety +1

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

  • @dacho707
    @dacho707 Před 3 lety

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

  • @apoorv9492
    @apoorv9492 Před 3 lety +7

    Can we expect a pen testing course soon :D

  • @mcmurdostation7134
    @mcmurdostation7134 Před 3 lety +1

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

  • @archuser7607
    @archuser7607 Před 3 lety +1

    Nice work

  • @ravensthor9547
    @ravensthor9547 Před 3 lety

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

  • @caesarxinsanium4008
    @caesarxinsanium4008 Před 3 lety

    This is a good video. pls make more.

  • @AntiWanted
    @AntiWanted Před 3 lety

    Good job

  • @basedboi8852
    @basedboi8852 Před 3 lety +1

    you should do a video on rsa

  • @celestialadministration

    What style font are you using?

  • @alejandroalzatesanchez

    Early view :D

  • @rashie
    @rashie Před rokem

    👍👍

  • @andrewhunnter
    @andrewhunnter Před 3 lety +1

    love mental outlaw gang

  • @iamlegion990
    @iamlegion990 Před 3 lety

    Would you do a video on systemd-analyze security?

  • @RichardiOS275
    @RichardiOS275 Před 3 lety

    the thumbnails explained it all

  • @elclippo4182
    @elclippo4182 Před 3 lety +3

    I use telnet via ssh tunnel 😎

  • @li82576
    @li82576 Před 3 lety +2

    How X window works please

  • @urs915
    @urs915 Před 3 lety

    Yes.

  • @bsatyam
    @bsatyam Před 3 lety +1

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

  • @TheFrantic5
    @TheFrantic5 Před 2 lety

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

  • @julesssssssss
    @julesssssssss Před 3 lety

    noice

  • @priyapepsi
    @priyapepsi Před 3 lety +2

    0:20, 13 lines from the top, 13 characters from the right 😳

  • @polyesterbebe
    @polyesterbebe Před 3 lety

    for the algorithm

  • @someguy5766
    @someguy5766 Před 3 lety

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

  • @ffccardoso
    @ffccardoso Před 3 lety

    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...

  • @glitchy_weasel
    @glitchy_weasel Před 3 lety

    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 Před 6 měsíci +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

  • @INeedAttentionEXE
    @INeedAttentionEXE Před 3 lety +2

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

    • @laurinneff4304
      @laurinneff4304 Před 3 lety +1

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

  • @t0k4m4k7
    @t0k4m4k7 Před 3 lety

    Dude what the fuck i was just looking at this topic

    • @t0k4m4k7
      @t0k4m4k7 Před 3 lety

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

  • @Kwales66
    @Kwales66 Před 3 lety

    I feel as though I know you?

  • @Calajese
    @Calajese Před 3 lety +5

    First...?

  • @tenancingogarcia
    @tenancingogarcia Před 3 lety

    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 Před 2 lety

      I think you need to use your server as a proxy

  • @Mecolo
    @Mecolo Před 3 lety

    But is how secure is ssh?

    • @Mecolo
      @Mecolo Před 3 lety

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

  • @rafaelpolonio4837
    @rafaelpolonio4837 Před 3 lety +3

    Based black guy.

  • @azeds
    @azeds Před 3 lety

    8th

  • @CaptainSamsquanch
    @CaptainSamsquanch Před 3 lety

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

  • @khoahuynh6884
    @khoahuynh6884 Před 3 měsíci

    This guy just copy Computerphile video word by word 😂

  • @nissengummihone
    @nissengummihone Před 3 lety +2

    Wayland is better than Xorg

    • @CoWinkKeyDinkInc
      @CoWinkKeyDinkInc Před 3 lety +5

      Nobody asked

    • @Maldito011316
      @Maldito011316 Před 3 lety

      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 Před 3 lety +4

      It's ok to be wrong.

    • @nissengummihone
      @nissengummihone Před 3 lety

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

    • @nissengummihone
      @nissengummihone Před 3 lety +1

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

  • @rogo7330
    @rogo7330 Před 3 lety

    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)