Learn to Secure Your Ubuntu Server with Ease: Follow Our Step-by-Step Guide Now!

Опубликовано: 05 Март 2025
на канале: Web Dev Fuel
261
8

In this video you'll learn how to do a initial server setup with Ubuntu, either for developing on the cloud or later deploying an application to the cloud.

By taking a few simple measures to ensure your server is setup correctly and secure, you'll be off to the races and ready to start using your Ubuntu server on the cloud to build and deploy things.

00:00 Introduction
00:15 Create Ubuntu 20.04 Linode instance
02:20 SSH into server as root user
02:46 Create new user
03:36 Give root privileges to user
04:07 Setup and enable firewall
05:44 Add SSH key to user authorized_keys file
07:14 Define owner and permissions of the file
08:22 SSH into server as user
08:54 Disable root access and password authentication
10:45 Restart sshd systemd service