llkalime.blogg.se

Debian 10 install ssh server
Debian 10 install ssh server











debian 10 install ssh server

To enhance your server’s security, we strongly recommend setting up SSH keys instead of using password authentication. Sudo ufw status Logging in with ssh-keys for security We will install and use the UFW firewall to help set firewall policies and manage exceptions. UFW firewall is popular and lightweight solution over iptables firewall. Sudo apt install -y ufw nginx php-fpm mariadb Setting Up a Basic Firewall Sudo apt install -y wget curl nano git lrzsz sudo loacte zip screen

debian 10 install ssh server

This example runs the command as user "lab"that types "sudo" before commands to get superuser privileges. Generally, new server OS is minimal version, lacking of some very useful and usual packages. Su -l lab //switch new user and home directory Installing useful and usual packages Usermod -aG wheel lab //granting Administrative privileges in Centos Usermod -aG sudo lab //granting Administrative privileges in Debian This example creates a new user called "lab", but you should replace it with a username that you like: apt update Because root user is the administrative user in a Linux environment that has very broad privileges, you are discouraged from using it on a regular basis. When first logged into server as root user, we should consider to create a new and alternative user account with a reduced scope of influence for day-to-day work. Creating a new user with admin privileges In this tutorial, we will show how to create a new user with admin privileges, set up a basic firewall and install web server. When we first create a new Debian 10 or higher linux server, there are a few configuration steps to increase the security and usability and will give us a solid foundation for subsequent actions. OctoLinux Initial Linux Server Setup with Debian 10 or higher Introduction













Debian 10 install ssh server