This article covers how to install and Enable SSH service on Ubuntu 18.04 system. You can now login remotely to your server using any SSH client from Linux or Windows system. To increase security of SSH connection by Changing default SSH port to custom one on you system. Get more details about SSH server from official SSH site.
When establishing a remote connection between a client and a server, a primary concern is ensuring security. For Linux users, the best practice of accessing and managing your server remotely is through the cryptographic protocol known as Secure Shell (SSH).
How to Enable SSH on Ubuntu ?
1. To install SSH, first update the package repository cache with:
$ sudo apt-get update
2. Now install the OpenSSH software package by entering:
$ sudo apt-get install openssh-server
If prompted, type in your password and press y (yes) to permit the installation.
3. To verify the installation was successful and SSH is running use the command:
$ sudo service ssh status
The confirmation message that you are looking for is: Active: active (running).