SSH Full Course - EVERYTHING You Need to Know!

Sdílet
Vložit
  • čas přidán 16. 05. 2024
  • OpenSSH is the tool of choice for managing Linux installations remotely - and is indispensable in DevOps, Cloud, System Administration, Hosting, and more. Since it's so widely used, you should definitely learn it. In this video, I go over all the basics you need to use OpenSSH in your workflow. This includes understanding the difference between the client and server binaries, how to connect, config files, keys, and more!
    🎞️ *Time Codes*:
    00:00 - Intro
    03:38 - What is OpenSSH?
    09:36 - Connecting to a server via OpenSSH
    21:28 - Configuring the OpenSSH Client
    28:04 - Using public/private keys
    45:40 - Managing SSH keys
    1:00:40 - SSH Server Configuration
    1:13:29 - Troubleshooting
    📖 Check out Jay's latest book, Mastering Ubuntu Server 4th Edition.
    Covers Ubuntu 22.04!
    ➡️ ubuntuserverbook.com
    🙌 Support me on Patreon and get early access to new content!
    ➡️ learnlinux.link/patron
    ☁️ Get $100 toward your own cloud server with Linode!
    ➡️ linode.com/learnlinuxtv
    🛒 Affiliate store for Linux compatible hardware/accessories (commission earned):
    ➡️ learnlinux.link/amazon
    💻 Check out the Tiny Pilot KVM for your Homelab (commission earned):
    ➡️ learnlinux.link/tinypilot
    🐦 Follow me on Twitter!
    ➡️ learnlinux.link/twitter
    💬 Official LearnLinux.tv Community:
    ➡️ community.learnlinux.tv
    💽 How to create a bootable flash drive for installing Linux
    ➡️ linux.video/flash-usb
    🐧 Which distro do I use?
    ➡️ learnlinux.link/mydistro
    🔐 How to better secure OpenSSH:
    ➡️ linux.video/secure-ssh
    ☁️ How to create a cloud Linux server with Linode:
    ➡️ learnlinux.link/create-linode
    👨 More about me:
    ➡️ www.jaylacroix.com
    ➡️ www.learnlinux.tv/about-me
    #Linux #SSH #DevOps
  • Věda a technologie

Komentáře • 394

  • @TheJohnnyFictionShow
    @TheJohnnyFictionShow Před 2 lety +76

    Jay, you’re a gem of an educator and I really appreciate the channel you’ve built and all the hard work you’ve done. Thank you.

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

    Hands down the best ssh walk through I've watched, finally I get it. Thanks!

  • @seanacus8476
    @seanacus8476 Před 3 lety +9

    This was a great tutorial. Please keep making more of these. Thank you for taking the time.

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

    Great video! I really appreciate you taking the time to put together a guide like this. Would love to see you talk about how you manage/backup keys as well.

  • @heikokraemer2735
    @heikokraemer2735 Před 3 lety +70

    This was the second ssh tutorial I've taken on CZcams … now I know where I'll look first next time.
    Thanks for this great session and for covering the security and troubleshooting essentials!

  • @joshmcneil1086
    @joshmcneil1086 Před rokem +4

    Thank you Jay. I've been using your videos for nearly a year now and I can honestly say that I have grown quite a lot, and much of that is attributable to you and your content. I am very much grateful for your time and tutelage. It has been integral to my learning. I'll be taking the RHSCA soon, and I will be remain a life-time viewer of the channel. All the best to you and yours.

  •  Před 2 lety +4

    Honestly, I don't know how can somebody dislike this video, it is a very clear, amazing explanation, all I needed.

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

    I understood the inner workings of SSH more after this 90 minute video than I have over six months of Linux usage. Thanks, Jay.

  • @BokanoiD
    @BokanoiD Před 3 lety +84

    You'd make an excellent teacher. This is the clearest way I've seen anyone explain anything in a while. Well done.

  • @annihilatorg
    @annihilatorg Před 3 lety +19

    Thank you for this, Jay. I really appreciated your additional info such as the troubleshooting steps and watching the appropriate logs. I would have also appreciated a backup/restore section for the ssh keys. While it's as simple as backing up and restoring the appropriate private/public key pairs, I'd have appreciated having that step included.

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

    Your videos always take me to the next level. I have been using ssh to access my pi's using keys but now I will harden them by moving away from blank keyphrases and definitely removing password authentication. Thanks for giving me such great perspective!

  • @1kcender4691
    @1kcender4691 Před 3 lety

    Jay your videos are very well done. The production is getting better with each video. Thank you so much for the tutoring. Also looking forward to the arrival of your 3rd edition. Keep up the great work.

  • @Appalling68
    @Appalling68 Před 2 lety

    Hi Jay. I am SO GLAD I stumbled upon this video (two years later). Thank you SO MUCH!

  • @GeorgeMulak
    @GeorgeMulak Před rokem +4

    This is the first time I feel like I am understanding this SSH topic. You have a gift of teaching. Please consider hacking out the rest of this topic, if you have not already. Thank you.

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

    Good Job I'll watch this over and over again.

  • @sathishkumarshanmugavel673

    Thank you for this guide. you have covered all aspects of the tool including troubleshooting. Your lecture is clear and easy to follow. Audio and video qualities are excellent and particularly the bigger fonts on your terminal 🙂. I have been using ssh for several years but now I have clear picture of the tool.

  • @mickymcl8359
    @mickymcl8359 Před 2 lety +1

    As a complete novice I even surprised myself, by being able to follow most of what you taught first time, need a few more watches to get it all to sit. Thanks a lot for clear explanations and the great examples.

  • @saidneder41
    @saidneder41 Před 9 měsíci

    Jay, you are a treasure for us juniors getting into linux sysadmin at work, you rock!

  • @MarkusEicher70
    @MarkusEicher70 Před 5 měsíci

    Hi Jay, hello community. Thanks for this basic intro. Coming from a Windows world now embracing Linux and learning to manage it. These kinds of basics are boring for Linux gurus, but essential for newbies like me. Good to have you and your channel as a mentor. I appreciate your work. 🤛

  • @muhammadasifsaeed500
    @muhammadasifsaeed500 Před 2 lety

    Watched again after 4 months. Got most of it ..... Thank you very much for this free stuff

  • @ltam168
    @ltam168 Před 2 lety +1

    Thank you for making it so easy to follow and understand. Another great tutorial.

  • @bonfireatnight3998
    @bonfireatnight3998 Před rokem +1

    Wow, this was a great video! The explanations are perfectly clear and it provides just the right amount of information to become somewhat competent without getting overwhelmed. Thanks!

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

    Great Video Thanks :-) Because I do this so few times I always forget certain ssh setup parts "getting old", so it makes for a really great ssh tutorial refresher.

  • @talaragop2452
    @talaragop2452 Před rokem

    You're the best teacher! You made it so easy to understand for a noob like me. Love your channel!

  • @strifef7
    @strifef7 Před 3 lety

    Love the new format and tutorials Jay! Great work!

  • @gookulgopan
    @gookulgopan Před 2 lety

    all my ssh related doubts cleared in one video, now I'm a ssh ninja. Thank you so much

  • @HaroonKhan-nx4wl
    @HaroonKhan-nx4wl Před rokem

    Indeed this video is a gem on ssh with deep dive into most of the ssh concepts in an intuitive way. Thank you for such a great content and keep going.

  • @muhammadasifsaeed500
    @muhammadasifsaeed500 Před 2 lety

    Very informative! Very Precise! I am following your all tutorial, they all are great! Thank you very much for the effort

  • @ryann6919
    @ryann6919 Před 3 lety

    This is so good! In-depth but super easy to get the hang of.

  • @daviddiaz572
    @daviddiaz572 Před 2 lety

    Brother you are one of the best at explaining these concepts. Thank you so much for making it so easy to understand

  • @KukuG28
    @KukuG28 Před 2 lety

    Very clear and plain logical explanation. Finally i have found a place to drop by for my linux education

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

    Thank Jay. You got me deeper into SSH.

  • @fossmanmedia
    @fossmanmedia Před 10 měsíci

    Still find myself referring to this video from time to time. Very helpful. Thank you for all of your hard work.

  • @subbunittala2012
    @subbunittala2012 Před 2 lety

    hands down the best turtorial on the internet ,,thank you so much !

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

    The best SSH tutorial I have seen... thank you very much!

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

      Any chance you could make a video like this about network managers... a tutorial explaining pros and cons of: NetworkManager, netctl, systemd-networkd, connnan, etc.?

  • @mauno91
    @mauno91 Před 2 lety

    It's currently 03. dec 2021 as I'm watching this. Seeing the date match, really brings the immersion to life when he talks about when stuff was created.

  • @antonyrodriguez5621
    @antonyrodriguez5621 Před 9 měsíci

    Thanks for covering all the steps!

  • @arianmazloumi3664
    @arianmazloumi3664 Před 3 lety

    This Course answered and solved all my ssh problems. Thank you somuch

  • @michalroesler
    @michalroesler Před rokem

    I keep coming back to this awesome video on SSH connections.

  • @mikemilkshake205
    @mikemilkshake205 Před 3 lety +49

    Could you please make a bash scripting course? It would fit your channel really well.

  • @victorkh7
    @victorkh7 Před 3 lety

    Thank you Jay, for the troubleshooting part... very informative! Thanks!

  • @saramaeks9826
    @saramaeks9826 Před 2 lety +7

    You are the reason I went from being a complete n00b to a semi-competent linux user and programmer. your videos are so informative, accessible, and entertaining. thank you so much for everything you do for the open-source community!

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

    A small additional detail to your explanation of journalctl. Journalctl uses the "less" command to pipe out the entries. You have all the features you would normally have such as using the forward slash "/" to begin a search. That also means that you can use shift-f to start following the log. Use CTRL-C to stop following.

  • @sussusamogus7831
    @sussusamogus7831 Před 11 měsíci +1

    Great stuff as always Jay, thanks for helping us out!

  • @bendoverbackwards
    @bendoverbackwards Před 2 lety

    The best CZcams video for SSH. Thanks ❤

  • @wekiwa7055
    @wekiwa7055 Před 2 lety

    This video answered my questions. Your presentation method is superb Jay.

  • @knpstrr
    @knpstrr Před 2 lety

    Went through this tutorial after following a ssh article. Ended up with same result but this video was great, will help anyone to setup ssh.

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

    This intro is on another level. It's better than the two old ones. The only thing i dislike is the jingle (audio), but i can live with it.

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

      That may change. Thanks for the feedback :)

  • @TheClembo
    @TheClembo Před 3 lety

    Great video thank you. Followed your instructions with my Synology NAS that wouldn't let me in via ssh without giving a password every time as I wanted to do. The -v on the ssh command helped me see that it was a permission issue for the directory and subsequent 'authorised keys' file. So after changing permissions, well deleting and setting up per your faultless instructions. Bingo -it all now works. Especially liked the 'config' file entry -helps a lot for simplicity. Thanks again. Just bought your new server book too. Cheers, ATB.

  • @vinodkumar-cs4xi
    @vinodkumar-cs4xi Před 3 lety

    SSH topic is cleared with this video, thank you so much for making this video 👍👍👍

  • @grahammccann8554
    @grahammccann8554 Před 3 lety

    Hi Jay, Great video. very helpful for working with ssh. Thank you for your time.

  • @scopeinsurancebrokerage5283

    just what I needed .thank you @Jay for the awesome and thorough tutorial and being a good teacher

  • @MattiaRighetti
    @MattiaRighetti Před 3 lety +31

    3:38 What is OpenSSH
    9:40 Connecting to a server via OpenSSH
    21:34 Configuring the OpenSSH Client
    28:07 Using public/private keys
    45:50 Managing SSH keys
    1:00:47 Configuring OpenSSH
    1:13:37 Troubleshooting OpenSSH

  • @jeremyhall3796
    @jeremyhall3796 Před 3 lety

    Great video and very timely for me. Thank you for posting.

  • @dougsheets6201
    @dougsheets6201 Před 2 lety

    Thank you. Your tutorial has helped my career. I've learned several things from this tutorial.

  • @hemant371981
    @hemant371981 Před 3 lety

    Many thanks. I have accounts background and studying IT for knowledge. I got my first assignment on OPenssh. You rescued me. Best regards - Hemant

  • @da001be
    @da001be Před 3 lety

    Awesome tutorial! Took loads of notes. Thanks so much!

  • @i--i4933
    @i--i4933 Před 3 lety +1

    this guys vids are awesome, they have really helped me understand linux

  • @MasterDXT
    @MasterDXT Před 5 měsíci

    I absolutely love your content Jay. Thanks to you I actually find joy in using Linux in general! :)

  • @BalurPoco
    @BalurPoco Před rokem +3

    Thank you very much, this is a real gem. Perfect, clear, well put together. I learned a lot from it. I look forward to watching your other videos, keep up the excellent work and thanks again.

  • @oluwaseyiajiboye7107
    @oluwaseyiajiboye7107 Před 2 lety

    Mr Jay your the best tutor have come across and am gonna stick with you until am fully grounded.. long live The JAY

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

    Thank you, Jay. I am saving this for reference for people.

  • @elnazzamani5110
    @elnazzamani5110 Před 4 dny

    That was a thorough video and I learned a lot. Thanks so much. Keep up the good work.

  • @LeeJordanMusic
    @LeeJordanMusic Před 2 lety

    Thanks for the simple explanation without getting too deep in the weeds

  • @WPAT1637
    @WPAT1637 Před 2 lety

    You have awesome and easy to follow tutorials! I\we appreciate your work.

  • @srsr6099
    @srsr6099 Před 3 lety +9

    Great tutorial, ssh was some kinda enigma for me, now demystified, thanks for your efforts, is there a sequel to this!

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

      No plans right now, but I very well could depending on how many views it gets.

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

    >1:27:59
    What a madman! :D Looking forward to seeing your new videos.

  • @decoder6878
    @decoder6878 Před 2 lety

    Awesome lecture.
    Very detailed explanation.👌🏻

  • @maninthecrowd5076
    @maninthecrowd5076 Před 3 lety +11

    Exactly what I was searching at the moment, and by that I mean from an hour ago to right at the moment.

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

    Perfect timing, was looking for a video like this last night.

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

      Glad I could help!

    • @adrianakuzmikova1697
      @adrianakuzmikova1697 Před 3 lety

      @@LearnLinuxTV what OS do you use on your VPS? I am thinking about getting VPS 1core with 2GB ram and I dont know what OS to choose. I wanna host simple personal web site and dont have any skills with linux or VPS or web hosting yet.

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

    Even though I thought I knew enough about the subject, I got caught up in the video, Jay might hypnotize you 😵‍💫

  • @maximumeffort9817
    @maximumeffort9817 Před 8 měsíci

    This is very nice and i am able to learn it. I first saw this video on other device with no yt acc logged in. So coming back to give a like for you. Keep doing these. Maybe some indepth videos of how ssh works.

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

    Thanks.
    Regardless the fact that I have been using it for many years, it was still very educational.
    Just a tip: mention also, in your next video release about ssh, the command `scp` (secure copy), which is part of openssh-client. And maybe the x11 forwarding.

  • @achillesserrano4746
    @achillesserrano4746 Před 2 lety

    Love your work. This is a hobby for me. I have a pretty good job but I would love to do admin work. I can stay on the computer for hours tinkering with Linux. Thanks for all you do

  • @ace296703
    @ace296703 Před rokem

    I enjoyed your work and purchased your mastering Ubuntu server book.. the teaching style is clear.. I have been using Linux for about 7 years. It is nice to know that you can find an alternative other than a Windows program. Thanks again.

  • @hassy9118
    @hassy9118 Před 2 lety

    Thank you for this awesome content...as well as other related videos in your site. I learned so much...

  • @MurilloNogueira
    @MurilloNogueira Před rokem

    Valuable information. Thank you very much!

  • @serpantinthewild
    @serpantinthewild Před 2 lety

    Very comprehensive tutorial, thank you

  • @verynice5258
    @verynice5258 Před rokem

    Thank you for all your hard work. You're an inspiration to many.

  • @sauravmohanty99
    @sauravmohanty99 Před 3 lety

    What an amazing tutorial! Thanks for this!

  • @hamigakisan7094
    @hamigakisan7094 Před rokem

    At home with a cold, needed something to keep busy. This'll do!

  • @Guilherme-qk9so
    @Guilherme-qk9so Před rokem

    Really awesome guide, as always! Thanks a bunch!

  • @noweare1
    @noweare1 Před rokem

    Thanks, your making me a lot more competent.

  • @fuemedicalcenter
    @fuemedicalcenter Před 2 lety

    este vídeo es oro. Explicación clara y detallada para los no iniciados. Muchas gracias

  • @QuimChaos
    @QuimChaos Před 2 lety

    thanks!! I was needing this!

  • @mbiybong9802
    @mbiybong9802 Před 3 lety

    Thank you for this video. I will surely share this video many times

  • @Crosszeriax
    @Crosszeriax Před 3 lety

    this was a really clearcut and informative video! thank you! ive subscribed to your channel :)

  • @scottspa74
    @scottspa74 Před 2 lety

    Man, your videos are AMAZING!

  • @prankster08840
    @prankster08840 Před 2 lety

    thank you so much for this quality video, i really enjoy it, please keep creating and uploading such great content

  • @Arturro75
    @Arturro75 Před rokem

    Just want to say, your work is highly appreciated. Your presentation of the topics is clear modest and pleasing to hear. Keep going and thank you again.

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

    This was very helpful Jay, thank you very much.
    I really like your style of explaining, so everybody can understand it.
    Suggestion for another topic: OpenSSL
    This Certificate thing is such a Mysterium to me. There are ressources which explain it, but I always feel that I missed something. So it's hard to get the full view on SSL Certificates. For example I run a pfsense. And one of my Browsers (Vivaldi or Chrome) don't accept the ( local? ) Certificate. So it does not encrypt the connection for my understanding.
    Keep up your fantastic work you do Jay, and thanks very much.
    Have a great & happy Christmas time.

  • @fabiobcm
    @fabiobcm Před rokem

    Awesome class as always! Complete and direct to the point. Could you make a video recommending us books on linux?

  • @michawojcik1519
    @michawojcik1519 Před 3 lety

    Amazing video Jay, thank you!

  • @zgagacz
    @zgagacz Před rokem

    Brilliant! So clear and helpful. Thank you!

  • @mean7429
    @mean7429 Před rokem

    Thank you for all your hard work.

  • @Dan123TheStarman
    @Dan123TheStarman Před 2 lety

    Thank you Jay, I wanted to suggest that you add "WSL2" into your comments above at around 50:00 min. into your video for all those using WSL2 under Windows 10/11. Just like the Bastion devices you mentioned, WSL2 will not be running ssh-agent and trying to connect to a server using Key Authentication will fail; even though the correct Public Key is on the server and correct Private Key under WSL2. But doing the: eval "$(ssh-agent)" command, and then: ssh-add ~/.ssh/, does make it possible to connect to the desired linux server! Yay!

  • @toenytv7946
    @toenytv7946 Před 3 lety

    great walk through so far section 1 is done. Thumbs up.

  • @linuxier1986
    @linuxier1986 Před rokem

    Very cleared explained !! Thanks a lot.

  • @trido3815
    @trido3815 Před 2 lety

    Crystal clear tutorial!! Thx.

  • @aynurshauerman
    @aynurshauerman Před 5 měsíci

    This is amazing! Thank you!