How to install SSH server in Ubuntu
The procedure to install a ssh server in Ubuntu Linux is as follows:
# install the openssh server
sudo apt-get install openssh-server
# Enable the ssh service by typing:
sudo systemctl enable ssh
# Enable and start the ssh service immediately
sudo systemctl enable ssh --now
# Start the ssh service by typing:
sudo systemctl start ssh
# Test it by login into the system using:
ssh userName@Your-server-name-IP
ssh user@ip
# Verify that ssh service running
sudo systemctl status ssh
Less than 1 minute