VPS Security Setup: SSH, Firewall & Passwordless Login Setup Before Hosting🔥

VPS Security Setup: SSH, Firewall & Passwordless Login Setup Before Hosting🔥

T
Thapa Technical
1 Video View·Jan 22, 2025

Setting up a VPS server for the first time? In this step-by-step guide, we'll show you how to secure your VPS before hosting anything. Learn to set up SSH keys, enable passwordless login using a non-root user, configure a firewall with UFW, and more. This video ensures your VPS is secure, optimized, and ready for use. Perfect for beginners and experienced users!
------------------------------------------------------------------------

🎁 Hostinger Servers Exclusive Offers🎁

Click here to Buy India Best Hosting 👉 https://www.hostg.xyz/SHGZy
For Thapa Family 💥 Use the discount code THAPA7 to get Extra 10% OFF!

👉 Watch Complete VPS Setup: https://youtu.be/rm8AhGGYEVA

🌐 Link to VPS Security Setup Before Hosting: https://www.thapatechnical.com/2025/01/vps-security-settings-ssh-firewall.html
------------------------------------------------------------------------
✌️ Join Us!

🚀 Become a Member: Unlock perks, free source code, and more Join Now : https://www.youtube.com/channel/UCwfaAHy4zQUb2APNOGXUCCA/join
📷 Connect on Instagram: https://www.instagram.com/thapatechnical
🗨️ Join Our Discord Server: Hang out with fellow programmers Discord Link: https://discord.gg/MdScmCsua6

------------------------------------------------------------------------

⌛TIMELINE⏳
0:00 Intro to VPS Server
0:12 Review of Older VPS Videos
3:20 How to Buy a VPS Server with a 10% Discount
4:50 Step 1: Have a VPS and Login
5:50 Introduction to SSH (Secure Shell)
6:30 How to Login to VPS Using SSH
9:10 Reinstalling Linux on VPS
10:45 Logging in Using Root User After Reinstallation
13:00 Updating and Upgrading the Package Lists
17:30 Creating a Non-Root User for Security
19:00 Adding the Non-Root User to the Sudo Group
20:00 Logging in Using a Non-Root User in VPS
21:35 Generating SSH Keys on Your System to Connect to VPS
26:35 Turning on SSH Agent Services on Windows
28:50 Adding SSH Key to SSH Agent
30:00 Creating an SSH Folder and Adding Public Key to VPS
31:00 Logging into VPS Without a Password Using Non-Root User
31:45 Disabling Password Login for SSH
35:00 Disabling Root Login for Better Security
36:10 What is a Firewall and Why You Need It
38:05 What is UFW and How to Manage a Firewall with It
44:20 How to Give Other Users Access to Your VPS
45:05 Like, Share, and Subscribe for More Content
46:10 Next Video Update About VPS Hosting