Complete SSH Tutorial: All-in-One Guide for Secure Connections

Sdílet
Vložit
  • čas přidán 28. 08. 2024

Komentáře • 413

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

    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.

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

    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.

  •  Před 2 lety +7

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

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

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

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

    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!

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

    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!

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

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

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

    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.

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

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

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

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

  • @joshmcneil1086
    @joshmcneil1086 Před rokem +5

    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.

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

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

  • @GustavAgar
    @GustavAgar Před 29 dny

    This tutorial of SSH is simply the best one on whole internet. I also recommend the 5 tweaks to secure openssh from the same channel

  • @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 :)

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

  • @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!

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

    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.

  • @MarkusEicher70
    @MarkusEicher70 Před 8 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. 🤛

  • @weekendwarrior3420
    @weekendwarrior3420 Před 8 dny

    It's a very useful video, I need this once every 2 years when I change jobs, and always forget.

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

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

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

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

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

    There are many people in the world who are experts in their field, but not everyone can teach what they know to someone who doesn't know it in the simplest way possible.
    You can do that, and that makes you one of the rarerst human beings on earth.
    I wish you could teach everything I will ever need to know, but asking you to do that will be just selfish on my side.😅

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

  • @saidneder41
    @saidneder41 Před rokem

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

  • @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.?

  • @Appalling68
    @Appalling68 Před 2 lety

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

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

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

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

  • @muhammadasifsaeed500
    @muhammadasifsaeed500 Před 2 lety

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

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

  • @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!

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

  • @_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.

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

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

    Your : is
    dedication : outstanding
    ability to pass the knowledge : flawless
    enthusiasm : marvelous
    Gonna share this over social networks, I'm betting there are "a bunch" of IT professionals who are not aware of this golden gem YT channel!

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

    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

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

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

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

  • @user-jz4zu8pw8m
    @user-jz4zu8pw8m Před 2 měsíci

    Jay, Thank you providing with such an informative material. I think this one video contains everything i need to know about ssh. I'm eager to watch other tutorials of you.

  • @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

  • @fossmanmedia
    @fossmanmedia Před rokem

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

  • @swoodtek
    @swoodtek Před rokem +1

    This video has really helped me understand how ssh works and gave a few tips on how to troubleshoot ssh.
    I’ve been studying for the linux+ exam, and have had difficulty learning ssh. ssh and bash scripting are my areas of weakness. Now I’m one step closer to taking the exam.

  • @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!

  • @LeeJordanMusic
    @LeeJordanMusic Před 2 lety

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

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

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

  • @666Husky
    @666Husky Před 3 lety +2

    You changed my life with tmux.
    Thank you from Germany! :)

  • @KukuG28
    @KukuG28 Před 3 lety

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

  • @sussusamogus7831
    @sussusamogus7831 Před rokem +1

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

  • @hamigakisan7094
    @hamigakisan7094 Před rokem

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

  • @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

  • @michalroesler
    @michalroesler Před rokem

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

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

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

  • @mentaldisorderrider6929

    Thank you. I am about to get into a course and was looking to refresh linux remote server connection. ❤

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

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

  • @HaroonKhan-nx4wl
    @HaroonKhan-nx4wl Před 2 lety

    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.

  • @garc2146
    @garc2146 Před 3 lety

    This guide helped me understand ssh better than studying the man pages, thanks.

  • @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!

  • @subbunittala2012
    @subbunittala2012 Před 3 lety

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

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

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

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

  • @scopeinsurancebrokerage5283

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

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

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

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

  • @adi-tiny
    @adi-tiny Před 2 lety

    The best CZcams video for SSH. 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.

  • @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

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

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

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

    I highly recommend taking a look at the Windows Terminal application along with the optional Windows 10 feature OpenSSH client, for those using Windows 10 as a client.

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

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

  • @absmustang
    @absmustang Před 3 lety

    Made the mistake of deleting /etc/ssh in the server. In it were a few keys I thought belonged to the client. I figured "let's start fresh" pfff! Fortunately I made a copy of the sshd_config.
    Anyways, later I learned to regenerate the server keys with /usr/bin/ssh-keygen -A
    I ended up having a better understanding of ssh key relationships.
    Great video btw.

  • @maximumeffort9817
    @maximumeffort9817 Před 11 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.

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

    Thank Jay. You got me deeper into SSH.

  • @rootdefault6263
    @rootdefault6263 Před 4 měsíci

    what an amazing tutorial. I wish I could download all your knowledge into my brain.

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

    Under troubleshooting a quick check of the firewall is worth mentioning particularly if you've changed the port

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

      and I was thinking why it doesn't work. Well, thank you!

    • @KeithWhittingham
      @KeithWhittingham Před 2 lety

      @@jordanbicanic9343 Obvious of course but it took me an hour to figure it out!

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

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

  • @daniellaerachannel
    @daniellaerachannel Před 3 lety +6

    awesome content! how can people dislike this?! they're surely on the wrong channel

  • @wekiwa7055
    @wekiwa7055 Před 3 lety

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

  • @arianmazloumi3664
    @arianmazloumi3664 Před 3 lety

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

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

    English language is my second language but I can understand everything that you are say it

  • @noweare1
    @noweare1 Před rokem

    Thanks, your making me a lot more competent.

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

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

  • @verynice5258
    @verynice5258 Před rokem

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

  • @dougsheets6201
    @dougsheets6201 Před 2 lety

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

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

  • @alejandroz1606
    @alejandroz1606 Před rokem

    Thank you, just thank you. You make easier for any migrating user to learn use linux

  • @muhammadasifsaeed500
    @muhammadasifsaeed500 Před 3 lety

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

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

    25:30 Instead of creating a config file you could create an alias for the whole command containing a possible different connection port like (I know you already know that) alias remote_my_server = ssh -p 2222 user_name@ip_address.... So then you could just type a shorter command like remote_my_server
    PS Another measurement for hardening ssh would be to block icmp in the relevant file in order the server acting as an ssh-server not be pingable from other sources and also install fail2ban in order to blacklist the ip attempting to login more than the specified number of times that is being setup in the relevant field.

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

    Great video! Would love to see one you mentioned on regenerating host keys pls :)

  • @shankarnag5763
    @shankarnag5763 Před rokem

    Jay Really wonderful job I am really big fan of you. 👌Keep going👋

  • @chopperchopable
    @chopperchopable Před 3 lety

    First thanks. You're a great teacher! I'am missing a advanced section about SSH.

  • @fuemedicalcenter
    @fuemedicalcenter Před 2 lety

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

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

    This was one of the best explanations of OpenSSH Basic Setup, I really hope you follow up with a video covering creation of CA and a Bastion Host

  • @rocke7398
    @rocke7398 Před 4 měsíci +1

    I finally understand. Thanks!

  • @favourcharles4154
    @favourcharles4154 Před 4 měsíci

    I HAVE WATCHED ALMOST ALL SSH VIDEOS AND READ MANY SSH TEXTS BUT I STILL COULDN'T UNDERSTAND.I UNDERSTOOD ALL SSH JUST 20 MINUTES INTO YOUR VIDEO 🎉🎉🎉🎉❤❤❤❤❤❤❤U GAINED A FOLLOWER

  • @truthmatters7573
    @truthmatters7573 Před 2 lety

    This was a great tutorial! Easily the best I have seen. One question you did not address though: what is best practice if you want to be able to connect to the same servers from multiple clients, say a laptop and a desktop? Should you have the same keys on both clients, or would it be better to have unique keys for each client?

  • @victorkh7
    @victorkh7 Před 3 lety

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

  • @mean7429
    @mean7429 Před rokem

    Thank you for all your hard work.

  • @grahammccann8554
    @grahammccann8554 Před 3 lety

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