10 Basic Ways to Secure Ubuntu from Hackers

  Рет қаралды 40,573

Tony Teaches Tech

Tony Teaches Tech

Күн бұрын

Learn how to harden Ubuntu in this guide that will teach you best practices for securing your server from external threats by locking down the system. Please note that these are not comprehensive recommendations.
Code snippets and the latest Ubuntu security tips 👉 tonyteaches.tech/secure-ubunt...
Ubuntu hardening playlist 👉 • Ubuntu Security Tips
Check out my vlog channel ‪@TonyFlorida‬
#ubuntu #security
0:00 Introduction
0:48 Automatically Install Security Updates
1:29 Use Sudo Not Root
2:05 Enforce Password Complexity
2:40 Use SSH Keys Not Passwords
3:42 Forbid Root Login
4:04 Change the SSH Port
4:39 Disable IPv6
5:20 Firewall with Intrusion Prevention Software
5:57 Use Basic Authentication
6:36 Remove Unnecessary Packages
7:01 Conclusion

Пікірлер: 55
@1arpaxad
@1arpaxad 2 жыл бұрын
when changing the ssh port number just be careful to not lock yourself by ufw (enable that port before changing the sshd config file)
@photogyulai
@photogyulai Жыл бұрын
too late ;-) :-D (came here to comment the same)
@zebronebanda6339
@zebronebanda6339 2 жыл бұрын
Great tutor of all times, thanks Tony!
@FarmerRiddick
@FarmerRiddick 5 ай бұрын
New subscriber here! I realize this video is dated however, I'm just starting to learn about home labbing and this was a great video, with a great instructor! I learned things! ...and took notes. One thing I want to do is provide movie streaming for my disabled neighbor who is on a low fixed income with stage 4 RA to be able to have a way to watch movies, especially over the long winter months. This is going to require my eventual media server to be accessible off premises. I've acquired a HUGE assortment of dvd's from a pawn shop that closed down. Security is going to be a must.
@user-vu2bh1eb3h
@user-vu2bh1eb3h Жыл бұрын
thank you Tony! - this is one of many videos I've used now!
@TonyTeachesTech
@TonyTeachesTech Жыл бұрын
You're welcome!
@raymondmoundzele4907
@raymondmoundzele4907 6 ай бұрын
Merci beaucoup pour les astuces
@MrParitosh14
@MrParitosh14 3 жыл бұрын
Loves your videos/contents
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
I appreciate that!
@benque7491
@benque7491 2 ай бұрын
Great video!!
@deehrk
@deehrk 3 жыл бұрын
this is gold !
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
Thanksss
@juliusduru3449
@juliusduru3449 2 жыл бұрын
Great, Tony
@TonyTeachesTech
@TonyTeachesTech 2 жыл бұрын
Thanks!
@onthegocode1443
@onthegocode1443 2 жыл бұрын
Quick tip make sure before switching your port to allow the port. I ran into an issue where my firewall was blocking my assigned port number. Use this command to allow/enable it - sudo ufw allow PORT_NUMBER
@abidsyed9534
@abidsyed9534 2 жыл бұрын
Nice info
@serpantinthewild
@serpantinthewild 3 жыл бұрын
thanks a lot :)
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
You're welcome!
@vinitghodegaonkar1972
@vinitghodegaonkar1972 2 жыл бұрын
super helpful
@TonyTeachesTech
@TonyTeachesTech 2 жыл бұрын
Glad you think so!
@opensourceteam
@opensourceteam 2 жыл бұрын
Perfect!
@TonyTeachesTech
@TonyTeachesTech 2 жыл бұрын
Thanks!
@EdwinMartin
@EdwinMartin Ай бұрын
Internet: adoption of IPv6 goes too slow Tony: disable IPv6 😭
@philtoa334
@philtoa334 3 жыл бұрын
Thx.
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
You're welcome!
@miguelelias2449
@miguelelias2449 3 жыл бұрын
Nice
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
Thanks!
@yogendranmudaliar3875
@yogendranmudaliar3875 Жыл бұрын
You should display commands in yellow and bold it will be helpful
@CDE.Hacker
@CDE.Hacker 2 жыл бұрын
How likely is it to be attacked if the server is managing your local network on a private ip network?
@WHAT-GRINDS-MY-GEARS
@WHAT-GRINDS-MY-GEARS 3 жыл бұрын
Good stuff. What do you think about the nginx-ultimate-bad-bot-blocker project on github?
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
I used that on one of my other websites. I think it's fantastic. Perhaps I'll put together a tutorial for this
@WHAT-GRINDS-MY-GEARS
@WHAT-GRINDS-MY-GEARS 3 жыл бұрын
@@TonyTeachesTech That would be amazing.
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
@@WHAT-GRINDS-MY-GEARS Won't be anytime soon though, but I have it on my list of future videos. Cheers!
@doughayden2806
@doughayden2806 2 жыл бұрын
YOU ARE GREAT! I have spent $$$$ on upwork consultants but I learn more from your videos. I would gladly send you $$ if you tell me how
@andresdemillos01
@andresdemillos01 11 ай бұрын
now you can send a superthanks
@arkofimagination
@arkofimagination Ай бұрын
I use SSH directly from my GCP. Should I still SSH keys, not password?
@prathmeshmargaje9165
@prathmeshmargaje9165 3 жыл бұрын
Hey can I use contabo vps for live streaming 24/7 does they provide streaming service
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
If you host it yourself
@YukiNakaii
@YukiNakaii 2 жыл бұрын
should someone using a desktop still use SSH, or are all of those steps primarily for ppl using servers remotely? thanks in advance
@TonyTeachesTech
@TonyTeachesTech 2 жыл бұрын
To access your remote server, you'll most likely need to use SSH.
@EdwinMartin
@EdwinMartin Ай бұрын
“SSH port is 22 and every hacker knows this”. Oh, shit! 😱
@TLOZ1986
@TLOZ1986 26 күн бұрын
If you want secure Linux Distro pls install Debial or Arch 😅
@IlIIllIlIlIIlIlIlIlIIl
@IlIIllIlIlIIlIlIlIlIIl Ай бұрын
+1
@david_osipov
@david_osipov 10 ай бұрын
Disabling IPv6 for security? That's a bs
@suresh1986ize
@suresh1986ize 2 жыл бұрын
How to disable compilers
@TonyTeachesTech
@TonyTeachesTech 2 жыл бұрын
I don't know
@abdulrahmana8623
@abdulrahmana8623 Жыл бұрын
Not beginner friendly 😞
@ilyaaztiki
@ilyaaztiki 3 жыл бұрын
liveoverflow debunked most of these tips
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
Mind sharing the video(s)?
@ilyaaztiki
@ilyaaztiki 3 жыл бұрын
@@TonyTeachesTech kzfaq.info/get/bejne/nLGlpLyCyde2eac.html
@patrickgrady7505
@patrickgrady7505 2 жыл бұрын
@@ilyaaztiki I saw that video and the firewall analogy counters the whole "don't change the ssh port" argument he gave earlier in that video.
@DunderHead.5000
@DunderHead.5000 2 жыл бұрын
@@TonyTeachesTech So, what's the verdict?
@Drudge.Miller
@Drudge.Miller Ай бұрын
kzfaq.info/get/bejne/nLGlpLyCyde2eac.html The recommendation in this video are for advanced users who have a deeper understanding of protocols, os and programming.
@quinne3584
@quinne3584 Жыл бұрын
This man is not a specialist he obviously gets all his information off google and has no real insight on the cybersecurity field.
@mmw-lafamilia118
@mmw-lafamilia118 Жыл бұрын
when i tried the first step, suddenly appear this message; sub-process /usr/bin/dpkg/ returned an error code (1)
How To Protect Ubuntu With fail2ban
9:43
Tony Teaches Tech
Рет қаралды 22 М.
How To Protect Your Linux Server From Hackers!
20:38
LiveOverflow
Рет қаралды 295 М.
터키아이스크림🇹🇷🍦Turkish ice cream #funny #shorts
00:26
Byungari 병아리언니
Рет қаралды 25 МЛН
THEY WANTED TO TAKE ALL HIS GOODIES 🍫🥤🍟😂
00:17
OKUNJATA
Рет қаралды 3,3 МЛН
когда повзрослела // EVA mash
00:40
EVA mash
Рет қаралды 1,1 МЛН
5 Must Have Tweaks to Secure OpenSSH
21:48
Learn Linux TV
Рет қаралды 26 М.
Should You Run Anti-Virus On Linux?
9:26
DistroTube
Рет қаралды 88 М.
The COMPLETE Linux Hardening, Privacy & Security Guide!
18:58
Techlore
Рет қаралды 144 М.
How to protect Linux from Hackers // My server security strategy!
30:39
Christian Lempa
Рет қаралды 213 М.
10 Tips for Hardening your Linux Servers
22:48
Learn Linux TV
Рет қаралды 63 М.
Why I don't recommend Ubuntu anymore
13:36
The Linux Experiment
Рет қаралды 980 М.
the most secure OS in the world.....I hate it
20:26
NetworkChuck
Рет қаралды 565 М.
Goodbye Passwords! Hello Passkeys
10:29
Andy Malone MVP
Рет қаралды 74 М.
Creating a Secure System
15:44
Chris Titus Tech
Рет қаралды 64 М.
ОЧЕНЬ ВКУСНЫЙ БУТЕРБРОД 🍞
0:49
КиноХост
Рет қаралды 1,4 МЛН
Он сладок, как поцелуй Горгоны…
0:58
Havran Show
Рет қаралды 1,4 МЛН
Surely you don’t know this ☕️ #camping #survival #bushcraft #outdoors
0:17
Ăn Vặt Tuổi Thơ 2024
Рет қаралды 32 МЛН
Eating ice-cream in secret from child #shorts
0:19
Secret Vlog
Рет қаралды 7 МЛН
Невестка с приколом 😱
0:23
ТРЕНДИ ШОРТС
Рет қаралды 2,3 МЛН
Eating ice-cream in secret from child #shorts
0:19
Secret Vlog
Рет қаралды 7 МЛН