In this short article, we would like to show how to install OpenSSH server on Ubuntu or Debian family Linux.
Quick solution (install on your server or computer):
sudo apt-get install openssh-server
Note: after installation, you can connect to your machine using ssh command.
Sometimes it is necessary to enable ssh server staring on Linux starting, so you can use:
sudo systemctl enable ssh
To run a server on currently started Linux you can use:
sudo systemctl start ssh
SSH Server testing
To test ssh server you can use:
192.168.0.105 would be changed to a machine IP address.