Debian / Ubuntu - install ssh server

6 points
Created by:

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:



ssh user@

Where: would be changed to a machine IP address.

Native Advertising
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂