Sunday, May 31, 2020

Install SSH on Ubuntu Server

When you see the subject you know that we going to demonstrate how to install SSH on Ubuntu Server.

Let assume your machine able to fetch from repository from internet. So here I going to install the SSH in Ubuntu in order to remotely control the machine.

sudo apt-get install openssh-server

After install the SSH, you can using below command to verify the ssh service is up and running. And now you can connect the using putty to remote terminal with port number of 22.
sudo systemctl status ssh.service

To stop the SSH service
sudo systemctl stop ssh

To restart SSH Service
sudo systemctl restart ssh