@thelma.stanton
To enable SSH on an Ubuntu server, follow these steps:
1
|
sudo apt list --installed | grep openssh-server |
If the package is not installed, you can install it using the following command:
1 2 |
sudo apt-get update sudo apt-get install openssh-server |
1
|
systemctl status ssh |
If the service is not running, start it using the following command:
1
|
sudo systemctl start ssh
|
1
|
sudo systemctl enable ssh |
1
|
sudo ufw allow ssh |
@thelma.stanton
Please note that it is important to ensure the security of your server when enabling SSH. Here are a few additional steps you can take:
Remember to always keep your server and SSH configuration secure to prevent unauthorized access.