SSH Full Course - EVERYTHING You Need to Know!

  Рет қаралды 558,032

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

Пікірлер: 394
@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 KZfaq … now I know where I'll look first next time. Thanks for this great session and for covering the security and troubleshooting essentials!
2 жыл бұрын
Honestly, I don't know how can somebody dislike this video, it is a very clear, amazing explanation, all I needed.
@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...
@CGA111
@CGA111 3 жыл бұрын
Hands down the best ssh walk through I've watched, finally I get it. Thanks!
@GeorgeMulak
@GeorgeMulak 2 жыл бұрын
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.
@_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.
@seanacus8476
@seanacus8476 3 жыл бұрын
This was a great tutorial. Please keep making more of these. Thank you for taking the time.
@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.
@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!
@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.
@Appalling68
@Appalling68 2 жыл бұрын
Hi Jay. I am SO GLAD I stumbled upon this video (two years later). Thank you SO MUCH!
@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.
@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.
@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 2 жыл бұрын
I think there is bash scripting videos
@davidkamaunu8734
@davidkamaunu8734 Жыл бұрын
👍 that's a good idea
@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.
@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!
@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.
@saidneder41
@saidneder41 9 ай бұрын
Jay, you are a treasure for us juniors getting into linux sysadmin at work, you rock!
@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.
@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!
@strifef7
@strifef7 3 жыл бұрын
Love the new format and tutorials Jay! Great work!
@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 :)
@fossmanmedia
@fossmanmedia 11 ай бұрын
Still find myself referring to this video from time to time. Very helpful. Thank you for all of your hard work.
@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.
@muhammadasifsaeed500
@muhammadasifsaeed500 2 жыл бұрын
Watched again after 4 months. Got most of it ..... Thank you very much for this free stuff
@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!
@ltam168
@ltam168 2 жыл бұрын
Thank you for making it so easy to follow and understand. Another great tutorial.
@muhammadasifsaeed500
@muhammadasifsaeed500 2 жыл бұрын
Very informative! Very Precise! I am following your all tutorial, they all are great! Thank you very much for the effort
@talaragop2452
@talaragop2452 Жыл бұрын
You're the best teacher! You made it so easy to understand for a noob like me. Love your channel!
@sussusamogus7831
@sussusamogus7831 Жыл бұрын
Great stuff as always Jay, thanks for helping us out!
@MarkusEicher70
@MarkusEicher70 5 ай бұрын
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. 🤛
@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
@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.
@BonnakChea
@BonnakChea 3 жыл бұрын
Thank Jay. You got me deeper into SSH.
@gookulgopan
@gookulgopan 2 жыл бұрын
all my ssh related doubts cleared in one video, now I'm a ssh ninja. Thank you so much
@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.
@ryann6919
@ryann6919 3 жыл бұрын
This is so good! In-depth but super easy to get the hang of.
@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.?
@victorkh7
@victorkh7 3 жыл бұрын
Thank you Jay, for the troubleshooting part... very informative! Thanks!
@subbunittala2012
@subbunittala2012 3 жыл бұрын
hands down the best turtorial on the internet ,,thank you so much !
@BalurPoco
@BalurPoco Жыл бұрын
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 Жыл бұрын
Thank you so much!
@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.
@arianmazloumi3664
@arianmazloumi3664 3 жыл бұрын
This Course answered and solved all my ssh problems. Thank you somuch
@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
@wekiwa7055
@wekiwa7055 2 жыл бұрын
This video answered my questions. Your presentation method is superb Jay.
@KukuG28
@KukuG28 2 жыл бұрын
Very clear and plain logical explanation. Finally i have found a place to drop by for my linux education
@MasterDXT
@MasterDXT 6 ай бұрын
I absolutely love your content Jay. Thanks to you I actually find joy in using Linux in general! :)
@scopeinsurancebrokerage5283
@scopeinsurancebrokerage5283 2 жыл бұрын
just what I needed .thank you @Jay for the awesome and thorough tutorial and being a good teacher
@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
@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.
@QuimChaos
@QuimChaos 2 жыл бұрын
thanks!! I was needing this!
@da001be
@da001be 3 жыл бұрын
Awesome tutorial! Took loads of notes. Thanks so much!
@antonyrodriguez5621
@antonyrodriguez5621 10 ай бұрын
Thanks for covering all the steps!
@dougsheets6201
@dougsheets6201 2 жыл бұрын
Thank you. Your tutorial has helped my career. I've learned several things from this tutorial.
@WPAT1637
@WPAT1637 2 жыл бұрын
You have awesome and easy to follow tutorials! I\we appreciate your work.
@elnazzamani5110
@elnazzamani5110 24 күн бұрын
That was a thorough video and I learned a lot. Thanks so much. Keep up the good work.
@bendoverbackwards
@bendoverbackwards 2 жыл бұрын
The best KZfaq video for SSH. Thanks ❤
@vinodkumar-cs4xi
@vinodkumar-cs4xi 3 жыл бұрын
SSH topic is cleared with this video, thank you so much for making this video 👍👍👍
@jeremyhall3796
@jeremyhall3796 3 жыл бұрын
Great video and very timely for me. Thank you for posting.
@grahammccann8554
@grahammccann8554 3 жыл бұрын
Hi Jay, Great video. very helpful for working with ssh. Thank you for your time.
@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.
@Guilherme-qk9so
@Guilherme-qk9so Жыл бұрын
Really awesome guide, as always! Thanks a bunch!
@i--i4933
@i--i4933 3 жыл бұрын
this guys vids are awesome, they have really helped me understand linux
@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
@fabiobcm
@fabiobcm Жыл бұрын
Awesome class as always! Complete and direct to the point. Could you make a video recommending us books on linux?
@fuemedicalcenter
@fuemedicalcenter 2 жыл бұрын
este vídeo es oro. Explicación clara y detallada para los no iniciados. Muchas gracias
@Crosszeriax
@Crosszeriax 3 жыл бұрын
this was a really clearcut and informative video! thank you! ive subscribed to your channel :)
@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.
@hamigakisan7094
@hamigakisan7094 Жыл бұрын
At home with a cold, needed something to keep busy. This'll do!
@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.
@scottspa74
@scottspa74 2 жыл бұрын
Man, your videos are AMAZING!
@hassy9118
@hassy9118 2 жыл бұрын
Thank you for this awesome content...as well as other related videos in your site. I learned so much...
@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.
@LeeJordanMusic
@LeeJordanMusic 2 жыл бұрын
Thanks for the simple explanation without getting too deep in the weeds
@toenytv7946
@toenytv7946 3 жыл бұрын
great walk through so far section 1 is done. Thumbs up.
@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.
@serpantinthewild
@serpantinthewild 2 жыл бұрын
Very comprehensive tutorial, thank you
@verynice5258
@verynice5258 Жыл бұрын
Thank you for all your hard work. You're an inspiration to many.
@linuxier1986
@linuxier1986 Жыл бұрын
Very cleared explained !! Thanks a lot.
@catraaaw
@catraaaw 3 жыл бұрын
>1:27:59 What a madman! :D Looking forward to seeing your new videos.
@flymoracer
@flymoracer 3 жыл бұрын
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.
@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!
@michawojcik1519
@michawojcik1519 3 жыл бұрын
Amazing video Jay, thank you!
@kailinrutherford5482
@kailinrutherford5482 2 жыл бұрын
Great video! Would love to see one you mentioned on regenerating host keys pls :)
@mean7429
@mean7429 Жыл бұрын
Thank you for all your hard work.
@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
@prankster08840
@prankster08840 2 жыл бұрын
thank you so much for this quality video, i really enjoy it, please keep creating and uploading such great content
@zgagacz
@zgagacz Жыл бұрын
Brilliant! So clear and helpful. Thank you!
@swoodtek
@swoodtek Жыл бұрын
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 4 ай бұрын
Hi, how has it been ?
@mbiybong9802
@mbiybong9802 3 жыл бұрын
Thank you for this video. I will surely share this video many times
@_BlitzKrieg
@_BlitzKrieg 4 ай бұрын
Even though I thought I knew enough about the subject, I got caught up in the video, Jay might hypnotize you 😵‍💫
@sauravmohanty99
@sauravmohanty99 3 жыл бұрын
What an amazing tutorial! Thanks for this!
@truthmatters7573
@truthmatters7573 Жыл бұрын
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?
@decoder6878
@decoder6878 3 жыл бұрын
Awesome lecture. Very detailed explanation.👌🏻
@phaedrus2633
@phaedrus2633 Жыл бұрын
This is a great video. It worked like a charm.
Using Ansible to automate your Laptop and Desktop configs!
1:08:27
Learn Linux TV
Рет қаралды 97 М.
Systemd Deep-Dive: A Complete, Easy to Understand Guide for Everyone
47:41
Dynamic #gadgets for math genius! #maths
00:29
FLIP FLOP Hacks
Рет қаралды 19 МЛН
Make me the happiest man on earth... 🎁🥹
00:34
A4
Рет қаралды 5 МЛН
MOM TURNED THE NOODLES PINK😱
00:31
JULI_PROETO
Рет қаралды 21 МЛН
OpenSSH for Absolute Beginners
23:00
Veronica Explains
Рет қаралды 95 М.
How SSH Works
8:54
Mental Outlaw
Рет қаралды 471 М.
Docker Crash Course for Absolute Beginners [NEW]
1:07:39
TechWorld with Nana
Рет қаралды 1,4 МЛН
18 Commands That Will Change The Way You Use Linux Forever
29:50
Akamai Developer
Рет қаралды 1,2 МЛН
New Linux User: 10 Things I Wish I Knew When I First Started
23:31
Learn Linux TV
Рет қаралды 397 М.
Linux File System/Structure Explained!
15:59
DorianDotSlash
Рет қаралды 4 МЛН
Linux Logical Volume Manager (LVM) Deep Dive Tutorial
53:13
Learn Linux TV
Рет қаралды 142 М.
Beginner's Guide to the Bash Terminal
1:14:37
Joe Collins
Рет қаралды 2,3 МЛН
cool watercooled mobile phone radiator #tech #cooler #ytfeed
0:14
Stark Edition
Рет қаралды 7 МЛН
wireless switch without wires part 6
0:49
DailyTech
Рет қаралды 954 М.
iphone fold ? #spongebob #spongebobsquarepants
0:15
Si pamer 😏
Рет қаралды 710 М.
wyłącznik
0:50
Panele Fotowoltaiczne
Рет қаралды 24 МЛН
😱НОУТБУК СОСЕДКИ😱
0:30
OMG DEN
Рет қаралды 3,1 МЛН