OpenSSH Made Easy: The Ultimate Step-by-Step Tutorial

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

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

  • @MattiaRighetti
    @MattiaRighetti 3 года назад +44

    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

  • @TheJohnnyFictionShow
    @TheJohnnyFictionShow 3 года назад +96

    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 2 года назад +14

    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.

  •  3 года назад +13

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

  • @mickymcl8359
    @mickymcl8359 2 года назад +4

    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.

  • @heikokraemer2735
    @heikokraemer2735 3 года назад +78

    This was the second ssh tutorial I've taken on RUclips … 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 2 года назад +9

    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!

  • @joshmcneil1086
    @joshmcneil1086 Год назад +6

    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.

  • @BokanoiD
    @BokanoiD 4 года назад +85

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

  • @theena
    @theena 3 года назад +5

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

  • @ishaanmalhotra3008
    @ishaanmalhotra3008 Месяц назад +1

    Thanks a lot! This was very helpful and I finally got SSH properly after going many other resources which werent as good as your tutorial

  • @muhammadasifsaeed500
    @muhammadasifsaeed500 3 года назад +3

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

  • @MarkusEicher70
    @MarkusEicher70 Год назад +2

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

  • @CGA111
    @CGA111 4 года назад +16

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

  • @gookulgopan
    @gookulgopan 2 года назад +2

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

  • @GustavAgar
    @GustavAgar 4 месяца назад

    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

  • @Appalling68
    @Appalling68 2 года назад +1

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

  • @oluwaseyiajiboye7107
    @oluwaseyiajiboye7107 2 года назад +1

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

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

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

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

    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!

  • @daveduback7974
    @daveduback7974 4 года назад +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!

  • @minh_trangia
    @minh_trangia 2 месяца назад

    the explanation is so clear that i think i will buy a course explained by this guy in the future

  • @Hyp3r-Fly
    @Hyp3r-Fly 3 месяца назад

    Exquisite step by step instruction. Clear and concise explanations for every move. Brilliant video.

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

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

  • @sathishkumarshanmugavel673
    @sathishkumarshanmugavel673 Год назад +1

    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.

  • @annihilatorg
    @annihilatorg 4 года назад +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.

  • @mikemilkshake205
    @mikemilkshake205 4 года назад +63

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

  • @srsr6099
    @srsr6099 4 года назад +9

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

    • @LearnLinuxTV
      @LearnLinuxTV  4 года назад +3

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

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

    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.

  • @BalurPoco
    @BalurPoco Год назад +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.

  • @denzilhoff6026
    @denzilhoff6026 4 года назад +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 4 года назад +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!

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

    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.

  • @_Fortress_
    @_Fortress_ 4 года назад +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.

  • @swoodtek
    @swoodtek 2 года назад +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.

    • @rinaso8103
      @rinaso8103 11 месяцев назад

      Hi, how has it been ?

  • @MurangShaBu_MahalNaBiGas
    @MurangShaBu_MahalNaBiGas 4 года назад +5

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

  • @seanacus8476
    @seanacus8476 4 года назад +8

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

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

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

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

    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.

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

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

  • @maninthecrowd5076
    @maninthecrowd5076 4 года назад +11

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

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

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

  • @sussusamogus7831
    @sussusamogus7831 Год назад +1

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

  • @bonfireatnight3998
    @bonfireatnight3998 2 года назад +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!

  • @HaroonKhan-nx4wl
    @HaroonKhan-nx4wl 2 года назад

    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.

  • @_BlitzKrieg
    @_BlitzKrieg 11 месяцев назад

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

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

    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.

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

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

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

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

  • @AmalJoby-k6f
    @AmalJoby-k6f 6 месяцев назад

    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.

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

    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.

  • @AnzanHoshinRoshi
    @AnzanHoshinRoshi 4 года назад +5

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

  • @flymoracer
    @flymoracer 3 года назад +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.

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

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

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

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

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

      Glad I could help!

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

      @@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 4 года назад

    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.

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

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

  • @goprotoday557
    @goprotoday557 26 дней назад +1

    Great channel for learning

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

    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

  • @1kcender4691
    @1kcender4691 3 года назад

    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.

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

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

  • @dimitristsoutsouras2712
    @dimitristsoutsouras2712 3 года назад +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.

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

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

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

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

  • @subtitles1492
    @subtitles1492 3 года назад +1

    Start: 3:37
    Word count for „actually“: 127

  • @kdg1955
    @kdg1955 4 года назад +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.

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

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

  • @ronnierush9379
    @ronnierush9379 4 года назад +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.

  • @scopeinsurancebrokerage5283
    @scopeinsurancebrokerage5283 2 года назад +1

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

  • @claytyler-nt4rt
    @claytyler-nt4rt 3 года назад +1

    Why did it ask for a password (not pass phrase of course) at 53:53?

  • @666Husky
    @666Husky 3 года назад +3

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

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

    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.

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

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

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

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

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

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

  • @ltam168
    @ltam168 2 года назад +1

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

  • @i--i4933
    @i--i4933 4 года назад +1

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

  • @KeithWhittingham
    @KeithWhittingham 2 года назад +1

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

    • @jordanbicanic9343
      @jordanbicanic9343 2 года назад +1

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

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

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

  • @elnazzamani5110
    @elnazzamani5110 7 месяцев назад

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

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

    Thank Jay. You got me deeper into SSH.

  • @catraaaw
    @catraaaw 4 года назад +2

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

  • @mentaldisorderrider6929
    @mentaldisorderrider6929 4 месяца назад

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

  • @vinodkumar-cs4xi
    @vinodkumar-cs4xi 3 года назад

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

  • @adi-tiny
    @adi-tiny 3 года назад

    The best RUclips video for SSH. Thanks ❤

  • @HaberleGusztav
    @HaberleGusztav 9 месяцев назад

    Köszönjük!

  • @KaustubhKolhe
    @KaustubhKolhe 9 месяцев назад +1

    1:12:12 isn't it ideal to remove the write permission of the private keys avoid accidental changes

  • @daniellaerachannel
    @daniellaerachannel 4 года назад +6

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

  • @sulleyalhassan9241
    @sulleyalhassan9241 2 месяца назад +1

    Does it work on Android phone

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

    Love the new format and tutorials Jay! Great work!

  • @rebazomer5635
    @rebazomer5635 4 года назад +2

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

  • @gittesilberglarsen1262
    @gittesilberglarsen1262 Год назад +1

    Excellent work. One small thing though: it can be confusing that you use the term client when referring to your customer. I which case client is actual the server.

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

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

  • @shadowshaman4437
    @shadowshaman4437 Год назад +1

    thank you a lot, this was very useful to me.

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

    Absolutely outstanding video. Thank you so much, Jay.

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

    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

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

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

  • @AbdulRehman-pc2xx
    @AbdulRehman-pc2xx 3 года назад

    Legend Jay. Respect from your recently added students that me from Pakistan.

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

      Dude can i ask you, how do you see that password like 13:58, what password is that, i dont have a password in my other pc. Please help me, i just want to know my password

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

    A question occurs: Where does ssh-keygen get its random data for the key pair? Just /dev/random?

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

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

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

    Man, your videos are AMAZING!