greton.blogg.se

Debian 10 install ssh server
Debian 10 install ssh server








debian 10 install ssh server

When configuring the server, it is suggested to change the default port and disable the root SSH login.

debian 10 install ssh server

SSH is also known as secure shell is a protocol that is used to connect with remote servers. Now close the shell instance and open it again a new hostname will appear. The hostname is the identity of your system over a network so it is a good practice to properly name your hostname and to change the hostname use the below-mentioned command: sudo hostnamectl set-hostname debian11įor the sake of demonstration, I have changed the hostname to “debian11”. To check the current hostname, use: sudo hostnamectl It can be seen that the user has switched. Switch account by executing the command: sudo su tecadmin Now, provide sudo privileges to the new user: sudo usermod -aG sudo tecadmin In the command “tecadmin” is the new user. For that run the below-mentioned command to add user: sudo adduser tecadmin It is recommended to create a new sudo user for your server management instead of the root account. Upon upgrading remove the unwanted file from your system by executing: sudo apt autoremove.

debian 10 install ssh server

  • It is recommended to update your distribution, for that use the below-mentioned command: sudo apt dist-upgrade.
  • Upgrade the packages using: sudo apt upgrade.
  • To update the packages list use: sudo apt update Login to the Debian 11 system and open a shell.
  • The first step is properly upgrading and updating the packages and the distribution.
  • Steps involve for initial server setup on Debian 11 are mentioned below: Step 1 – Update and Upgrade the Debian When you install or upgrade to Debian 11, there is a configuration you need to perform to make your server secure.

    debian 10 install ssh server

    This write-up is focusing on how to install, set up a server on Debian 11 Bullseye. The newest version of Debian is Debian 11 Bullseye, which comes with thousands of new packages, supports multiple desktop environments, driverless scanning, and an improved manual page. Many distributions are based on it, especially well-liked Ubuntu, PureOS, SteamOS, etc. Debian is a stable, secure, and quite popular Linux operating system and ideal for server setup.










    Debian 10 install ssh server