3 Important Tweaks for Improving OpenSSH Security on Your Cloud Instance

  Рет қаралды 14,972

Learn Linux TV

Learn Linux TV

Күн бұрын

Пікірлер: 43
@danielyount9812
@danielyount9812 5 жыл бұрын
Good points on SSH control. Another option is port knockd. This completely shuts down or opens a port when you ping a few ports in sequence. Also, to eliminate the hassle of copying a public key all over the place is to use -A option for forwarding, this is useful when you have a cluster of systems and centralize your access to a single jump server.
@Brian-Anderson-uk
@Brian-Anderson-uk Жыл бұрын
The guidance given was lucid and highly informative, simplifying the process for easy comprehension. The accompanying KZbin video proved especially beneficial, offering a visual walk through of the steps. It's essential to mention, though, that there was no coverage of updating UFW (Uncomplicated Firewall), a point of significance for users with an active firewall. In general, the material was well-structured and enlightening. Thanks a lot! P.S. Your videos have been a favourite of mine for many years, and I appreciate the valuable content you consistently provide.
@jeffherdzina6716
@jeffherdzina6716 5 жыл бұрын
Jay, Another important thing to remember if running Redhat or Centos is SElinux, is adding a non-standard port to SElinux. with commands like... semanage port -l | grep ssh_port # Which will show which ports SSH is using. semanage port -a -t ssh_port_t -p tcp (port number) # Adds a port number. semanage port -d -t ssh_port_t -p tcp (port number) # Deletes a port number. And of course firewall configurations .... Other wise a great video. Keep up the great work.
@FunctionGermany
@FunctionGermany Жыл бұрын
i know this is an old video, but i think 31:45 would be an important timestamp to put in the description. it's basically "using a user whitelist for SSH". i think the chapters for this video got automatically generated by youtube.
@ravindranshanmugam782
@ravindranshanmugam782 4 жыл бұрын
This tutorial on ssh hardening is not just good. It's excellent !! Thank you, Jay.
@jordanjones6131
@jordanjones6131 2 жыл бұрын
Im just starting out with linux and aws, this video was so heplful really appreciate it. implementing these changes into my project tonight thank you!
@kipsangjacob270
@kipsangjacob270 9 ай бұрын
Awesome video on ssh hardening 🎉🎉🎉 Thanks Jay
@Slyndc
@Slyndc 3 жыл бұрын
What if the computer you use to create the key 🔑 is no longer available for X reason? How would one log into the server?
@Sdirimohamedsalah
@Sdirimohamedsalah Жыл бұрын
Thank you very much. clearly explained and very instructive.
@barbarella7028
@barbarella7028 5 жыл бұрын
I also install fail2ban, just to prevent those persistent brute-force attacks from clogging up my logs
@jhhassler
@jhhassler Жыл бұрын
Fantastic video! 👍👍
@mikemacdonald2094
@mikemacdonald2094 5 жыл бұрын
Much appreciated. Very thorough tutorial.
@nkmicros540
@nkmicros540 4 жыл бұрын
Nice, and + I've learned one more shortcut: "Ctrl + D" to disconnect from ssh session instead of "exit -> [Enter]" =)
@fbifido2
@fbifido2 2 жыл бұрын
@16:50 - ssh-keygen. How does one generate an ECDSA or ED25519 key? the command you used generate an RSA key. - can i copy the private key (from ubuntu) to another linux PC (ubuntu2) to then login to server1 using the same username (jay)? -
@Lankanbrothers
@Lankanbrothers 4 жыл бұрын
The way you explain is easy to understand for beginer like me. thanks a lot
@bretttaylor4262
@bretttaylor4262 5 жыл бұрын
Jay, thank you for your video! Learned a lot.
@mojar2680
@mojar2680 3 жыл бұрын
For people who didn't have netstat, you can see the port when > running sudo systemct status ssh
@seihes
@seihes 4 жыл бұрын
I think you could also point to Lynis as a way to audit the security of a box, respectively, how you can further harden OpenSSH.
@garygrobard4095
@garygrobard4095 5 жыл бұрын
Thanks as always. What would be the process to go from endpoint A to B and B to A. Can one have a single cert that allows connection to and from countless devices?
@frederickalcantara2066
@frederickalcantara2066 3 жыл бұрын
You should also write an article about this. I think it's better for those who don't want to watch a video.
@redhousetn73
@redhousetn73 4 жыл бұрын
Nice, thanks for sharing
@andrewpaige9152
@andrewpaige9152 2 жыл бұрын
Great content thank you
@WeedMIC
@WeedMIC 5 жыл бұрын
U did not show how to restrict by computer name or ip by editing files in the .ssh dir
@thetdg
@thetdg 5 жыл бұрын
Extremely useful video, as usual.
@BobBeatski71
@BobBeatski71 5 жыл бұрын
Lots of good stuff. Thanks.
@robertchakhroobian4949
@robertchakhroobian4949 5 жыл бұрын
it is very helpful video Thank you
@LidZLife
@LidZLife 5 жыл бұрын
Jay Great Video!
@Vhoover3609
@Vhoover3609 4 жыл бұрын
You could also use 2fa
@AnzanHoshinRoshi
@AnzanHoshinRoshi 5 жыл бұрын
Thank you, Jay.
@ebol08
@ebol08 5 жыл бұрын
Yet I'm still stuck at Ubuntu Server 14 at work! Let's wait for 20 LTS they say'
@adamalexander5216
@adamalexander5216 4 жыл бұрын
Godsend. Thanks
@mikehensley78
@mikehensley78 5 жыл бұрын
Wait a sec....if you had 2 root ssh sessions to the same server and used one to config then restart the sshd the second root login was stale or there but not connected any longer.
@Stormy2k3
@Stormy2k3 5 жыл бұрын
He restarts again at 34:15 and uses the connection in the second tab to restore the correct config. The session is still open and usable.
@mikehensley78
@mikehensley78 5 жыл бұрын
@@Stormy2k3 ive never seen an ssh connection stay connected when you are shutting down and starting the ssh server!? as a matter of fact i tried this on my VPS ubuntu 16.04 server. when you restart the sshd it kills all connections because what you're connected to has been shut off and restarted. its common sense if you think about it. i believe thats "movie magic" that he uses that connection later.
@bytelinks937
@bytelinks937 3 жыл бұрын
Mike Hensley simple answer to you is, you have failed to notice that he is using two user to do all the process. Root*2 and jay accounts. Try to replicate this instead of just watch the video you'll see that it works.
@ambassadorofpain1
@ambassadorofpain1 5 жыл бұрын
>standard ssh-keygen Absolutely disgusting.
@adfjasjhf
@adfjasjhf 4 жыл бұрын
Any recommendation for something else?
@ambassadorofpain1
@ambassadorofpain1 4 жыл бұрын
@@adfjasjhf Yep: ssh-keygen -o -a 100 -t ed25519 -C user@host -f ~/.ssh/your-file-name Just change "user@host" to match yours if you want it and the file name.
@Krynos18
@Krynos18 4 жыл бұрын
tcpwrappers
How to Install Pop!_OS 19.10 - Clean Installation Overview
9:49
Learn Linux TV
Рет қаралды 57 М.
Another Look at My Homelab (More Detail)
49:38
Learn Linux TV
Рет қаралды 49 М.
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
Securing your Cloud Server with Fail2ban
40:53
Learn Linux TV
Рет қаралды 15 М.
Systemd Explained: The Ultimate Deep Dive for Linux Users
47:41
Learn Linux TV
Рет қаралды 203 М.
5 Must Have Tweaks to Secure OpenSSH
21:48
Learn Linux TV
Рет қаралды 31 М.
Boosting your Linux Server Security with CrowdSec
26:47
Learn Linux TV
Рет қаралды 19 М.
Getting Started with OpenSSH Key Management
23:31
Learn Linux TV
Рет қаралды 46 М.
5 Easy Tweaks to increase your Linux Server's Security
40:05
Learn Linux TV
Рет қаралды 23 М.
Self-Hosting Security Guide for your HomeLab
18:43
Techno Tim
Рет қаралды 423 М.
Resetting OpenSSH Host Keys (the easy method)
22:53
Learn Linux TV
Рет қаралды 12 М.
Problems You will Encounter on Linux (and How to Solve Them)
23:01
Rob Braxman Tech
Рет қаралды 157 М.
Linux Logical Volume Manager (LVM) Deep Dive Tutorial
53:13
Learn Linux TV
Рет қаралды 155 М.