EN
Debian / Ubuntu - install ssh server
6 points
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):
xxxxxxxxxx
1
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:
xxxxxxxxxx
1
sudo systemctl enable ssh
To run a server on currently started Linux you can use:
xxxxxxxxxx
1
sudo systemctl start ssh
To test ssh server you can use:
xxxxxxxxxx
1
ssh user@my-domain.com
or:
xxxxxxxxxx
1
ssh user@192.168.0.105
Where: 192.168.0.105
would be changed to a machine IP address.