SSH Full Course - EVERYTHING You Need to Know!

  Переглядів 548,252

Learn Linux TV

Learn Linux TV

День тому

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

КОМЕНТАРІ: 393
@TheJohnnyFictionShow
@TheJohnnyFictionShow 2 роки тому
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.
@heikokraemer2735
@heikokraemer2735 3 роки тому
This was the second ssh tutorial I've taken on UKposts … now I know where I'll look first next time. Thanks for this great session and for covering the security and troubleshooting essentials!
@BokanoiD
@BokanoiD 3 роки тому
You'd make an excellent teacher. This is the clearest way I've seen anyone explain anything in a while. Well done.
@2012Misanthrope
@2012Misanthrope 3 роки тому
he is a teacher.
@sexyeur
@sexyeur 2 роки тому
If it looks like a duck...
2 роки тому
Honestly, I don't know how can somebody dislike this video, it is a very clear, amazing explanation, all I needed.
@_Fortress_
@_Fortress_ 3 роки тому
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.
@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.
@GeorgeMulak
@GeorgeMulak Рік тому
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.
@CGA111
@CGA111 3 роки тому
Hands down the best ssh walk through I've watched, finally I get it. Thanks!
@seanacus8476
@seanacus8476 3 роки тому
This was a great tutorial. Please keep making more of these. Thank you for taking the time.
@annihilatorg
@annihilatorg 3 роки тому
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.
@joshmcneil1086
@joshmcneil1086 Рік тому
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.
@daveduback7974
@daveduback7974 3 роки тому
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!
@theena
@theena 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.
@Appalling68
@Appalling68 2 роки тому
Hi Jay. I am SO GLAD I stumbled upon this video (two years later). Thank you SO MUCH!
@ronnierush9379
@ronnierush9379 3 роки тому
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.
@sathishkumarshanmugavel673
@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.
@Ray_TambaBudol_Marcos
@Ray_TambaBudol_Marcos 3 роки тому
Good Job I'll watch this over and over again.
@bonfireatnight3998
@bonfireatnight3998 Рік тому
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!
@fossmanmedia
@fossmanmedia 10 місяців тому
Still find myself referring to this video from time to time. Very helpful. Thank you for all of your hard work.
@HaroonKhan-nx4wl
@HaroonKhan-nx4wl Рік тому
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.
@maninthecrowd5076
@maninthecrowd5076 3 роки тому
Exactly what I was searching at the moment, and by that I mean from an hour ago to right at the moment.
@LearnLinuxTV
@LearnLinuxTV 3 роки тому
Wow, great timing!
@muhammadasifsaeed500
@muhammadasifsaeed500 2 роки тому
Watched again after 4 months. Got most of it ..... Thank you very much for this free stuff
@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
@mikemilkshake205
@mikemilkshake205 3 роки тому
Could you please make a bash scripting course? It would fit your channel really well.
@paulmacgiollacaoine8619
@paulmacgiollacaoine8619 3 роки тому
That would be great 👍
@Crosszeriax
@Crosszeriax 3 роки тому
would love this too
@sargismartirosyan9946
@sargismartirosyan9946 Рік тому
I think there is bash scripting videos
@davidkamaunu8734
@davidkamaunu8734 Рік тому
👍 that's a good idea
@mauno91
@mauno91 2 роки тому
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.
@mickymcl8359
@mickymcl8359 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.
@ltam168
@ltam168 2 роки тому
Thank you for making it so easy to follow and understand. Another great tutorial.
@saramaeks9826
@saramaeks9826 2 роки тому
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!
@strifef7
@strifef7 3 роки тому
Love the new format and tutorials Jay! Great work!
@talaragop2452
@talaragop2452 Рік тому
You're the best teacher! You made it so easy to understand for a noob like me. Love your channel!
@KukuG28
@KukuG28 2 роки тому
Very clear and plain logical explanation. Finally i have found a place to drop by for my linux education
@saidneder41
@saidneder41 9 місяців тому
Jay, you are a treasure for us juniors getting into linux sysadmin at work, you rock!
@muhammadasifsaeed500
@muhammadasifsaeed500 2 роки тому
Very informative! Very Precise! I am following your all tutorial, they all are great! Thank you very much for the effort
@ryann6919
@ryann6919 3 роки тому
This is so good! In-depth but super easy to get the hang of.
@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.
@michalroesler
@michalroesler Рік тому
I keep coming back to this awesome video on SSH connections.
@subbunittala2012
@subbunittala2012 2 роки тому
hands down the best turtorial on the internet ,,thank you so much !
@gaylordlevy3843
@gaylordlevy3843 3 роки тому
The best SSH tutorial I have seen... thank you very much!
@gaylordlevy3843
@gaylordlevy3843 3 роки тому
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.?
@gookulgopan
@gookulgopan 2 роки тому
all my ssh related doubts cleared in one video, now I'm a ssh ninja. Thank you so much
@denzilhoff6026
@denzilhoff6026 3 роки тому
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.
@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.
@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
@BonnakChea
@BonnakChea 3 роки тому
Thank Jay. You got me deeper into SSH.
@antonyrodriguez5621
@antonyrodriguez5621 9 місяців тому
Thanks for covering all the steps!
@oluwaseyiajiboye7107
@oluwaseyiajiboye7107 2 роки тому
Mr Jay your the best tutor have come across and am gonna stick with you until am fully grounded.. long live The JAY
@arianmazloumi3664
@arianmazloumi3664 3 роки тому
This Course answered and solved all my ssh problems. Thank you somuch
@vinodkumar-cs4xi
@vinodkumar-cs4xi 3 роки тому
SSH topic is cleared with this video, thank you so much for making this video 👍👍👍
@srsr6099
@srsr6099 3 роки тому
Great tutorial, ssh was some kinda enigma for me, now demystified, thanks for your efforts, is there a sequel to this!
@LearnLinuxTV
@LearnLinuxTV 3 роки тому
No plans right now, but I very well could depending on how many views it gets.
@MarkusEicher70
@MarkusEicher70 4 місяці тому
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. 🤛
@BalurPoco
@BalurPoco 11 місяців тому
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.
@LearnLinuxTV
@LearnLinuxTV 11 місяців тому
Thank you so much!
@victorkh7
@victorkh7 3 роки тому
Thank you Jay, for the troubleshooting part... very informative! Thanks!
@secwriteups
@secwriteups 3 роки тому
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 3 роки тому
That may change. Thanks for the feedback :)
@scopeinsurancebrokerage5283
@scopeinsurancebrokerage5283 2 роки тому
just what I needed .thank you @Jay for the awesome and thorough tutorial and being a good teacher
@bendoverbackwards
@bendoverbackwards 2 роки тому
The best UKposts video for SSH. Thanks ❤
@grahammccann8554
@grahammccann8554 3 роки тому
Hi Jay, Great video. very helpful for working with ssh. Thank you for your time.
@AnzanHoshinRoshi
@AnzanHoshinRoshi 3 роки тому
Thank you, Jay. I am saving this for reference for people.
@mranjith830
@mranjith830 3 роки тому
I know you're not human.
@AnzanHoshinRoshi
@AnzanHoshinRoshi 3 роки тому
@@mranjith830 Of course not.
@sussusamogus7831
@sussusamogus7831 11 місяців тому
Great stuff as always Jay, thanks for helping us out!
@wekiwa7055
@wekiwa7055 2 роки тому
This video answered my questions. Your presentation method is superb Jay.
@dougsheets6201
@dougsheets6201 2 роки тому
Thank you. Your tutorial has helped my career. I've learned several things from this tutorial.
@i--i4933
@i--i4933 3 роки тому
this guys vids are awesome, they have really helped me understand linux
@jeremyhall3796
@jeremyhall3796 3 роки тому
Great video and very timely for me. Thank you for posting.
@MasterDXT
@MasterDXT 5 місяців тому
I absolutely love your content Jay. Thanks to you I actually find joy in using Linux in general! :)
@da001be
@da001be 3 роки тому
Awesome tutorial! Took loads of notes. Thanks so much!
@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
@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.
@catraaaw
@catraaaw 3 роки тому
>1:27:59 What a madman! :D Looking forward to seeing your new videos.
@LeeJordanMusic
@LeeJordanMusic 2 роки тому
Thanks for the simple explanation without getting too deep in the weeds
@elnazzamani5110
@elnazzamani5110 День тому
That was a thorough video and I learned a lot. Thanks so much. Keep up the good work.
@kdg1955
@kdg1955 3 роки тому
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.
@fuemedicalcenter
@fuemedicalcenter 2 роки тому
este vídeo es oro. Explicación clara y detallada para los no iniciados. Muchas gracias
@hamigakisan7094
@hamigakisan7094 Рік тому
At home with a cold, needed something to keep busy. This'll do!
@WPAT1637
@WPAT1637 2 роки тому
You have awesome and easy to follow tutorials! I\we appreciate your work.
@tissuepaper9962
@tissuepaper9962 3 роки тому
Perfect timing, was looking for a video like this last night.
@LearnLinuxTV
@LearnLinuxTV 3 роки тому
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.
@_BlitzKrieg
@_BlitzKrieg 3 місяці тому
Even though I thought I knew enough about the subject, I got caught up in the video, Jay might hypnotize you 😵‍💫
@QuimChaos
@QuimChaos 2 роки тому
thanks!! I was needing this!
@decoder6878
@decoder6878 2 роки тому
Awesome lecture. Very detailed explanation.👌🏻
@hassy9118
@hassy9118 2 роки тому
Thank you for this awesome content...as well as other related videos in your site. I learned so much...
@maximumeffort9817
@maximumeffort9817 8 місяців тому
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.
@verynice5258
@verynice5258 Рік тому
Thank you for all your hard work. You're an inspiration to many.
@mean7429
@mean7429 Рік тому
Thank you for all your hard work.
@TradersTradingEdge
@TradersTradingEdge 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.
@sauravmohanty99
@sauravmohanty99 3 роки тому
What an amazing tutorial! Thanks for this!
@mbiybong9802
@mbiybong9802 3 роки тому
Thank you for this video. I will surely share this video many times
@noweare1
@noweare1 Рік тому
Thanks, your making me a lot more competent.
@absmustang
@absmustang 3 роки тому
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.
@fabiobcm
@fabiobcm Рік тому
Awesome class as always! Complete and direct to the point. Could you make a video recommending us books on linux?
@serpantinthewild
@serpantinthewild 2 роки тому
Very comprehensive tutorial, thank you
@prankster08840
@prankster08840 2 роки тому
thank you so much for this quality video, i really enjoy it, please keep creating and uploading such great content
@MattiaRighetti
@MattiaRighetti 3 роки тому
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
@toenytv7946
@toenytv7946 3 роки тому
great walk through so far section 1 is done. Thumbs up.
@Guilherme-qk9so
@Guilherme-qk9so Рік тому
Really awesome guide, as always! Thanks a bunch!
@666Husky
@666Husky 3 роки тому
You changed my life with tmux. Thank you from Germany! :)
@MurilloNogueira
@MurilloNogueira Рік тому
Valuable information. Thank you very much!
@scottspa74
@scottspa74 2 роки тому
Man, your videos are AMAZING!
@ZandokanL
@ZandokanL 2 роки тому
I am new with Linux ...great tutorial thank you...
@zgagacz
@zgagacz Рік тому
Brilliant! So clear and helpful. Thank you!
@woxit6107
@woxit6107 2 роки тому
Thanks for your time and effort.
@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!
@aynurshauerman
@aynurshauerman 4 місяці тому
This is amazing! Thank you!
@garc2146
@garc2146 3 роки тому
This guide helped me understand ssh better than studying the man pages, thanks.
Using Ansible to automate your Laptop and Desktop configs!
1:08:27
Learn Linux TV
Переглядів 96 тис.
Systemd Deep-Dive: A Complete, Easy to Understand Guide for Everyone
47:41
Learn Linux TV
Переглядів 159 тис.
OpenSSH for Absolute Beginners
23:00
Veronica Explains
Переглядів 93 тис.
How SSH Works
8:54
Mental Outlaw
Переглядів 453 тис.
SSH Crash Course | With Some DevOps
55:02
Traversy Media
Переглядів 543 тис.
Linux Crash Course -  Managing Users
32:59
Learn Linux TV
Переглядів 93 тис.
Why Corporate Owned Linux Distributions like Red Hat are a Bad Idea
23:46
Learn Linux TV
Переглядів 145 тис.
OpenAI’s GPT-4o: The Best AI Is Now Free!
9:14
Two Minute Papers
Переглядів 18 тис.
New Linux User: 10 Things I Wish I Knew When I First Started
23:31
Learn Linux TV
Переглядів 365 тис.
OpenSSH is about to change. (For the better.)
10:00
Veronica Explains
Переглядів 137 тис.
SSH Keys
10:12
RobEdwards
Переглядів 95 тис.
Linux Command-Line Tips & Tricks: Over 15 Examples!
31:37
Learn Linux TV
Переглядів 210 тис.
Apple Event - May 7
38:22
Apple
Переглядів 6 млн
Рекламная уловка Apple 😏
0:59
Яблык
Переглядів 799 тис.
Эффект Карбонаро и бумажный телефон
1:01
История одного вокалиста
Переглядів 480 тис.
Рекламная уловка Apple 😏
0:59
Яблык
Переглядів 799 тис.
Я Создал Новый Айфон!
0:59
FLV
Переглядів 2,9 млн