Appearance
Unreachable server because of SSH
Issue
The server has a correctly assigned IP address (you can ping it), but you are unable to establish an SSH connection.

Cause
The SSH service is most likely not running, or it is not installed.
Solution
To verify the functionality of the SSH service, follow these steps:
Verify the SSH service is installed
Run the following command:
shellsudo systemctl status sshd.serviceIf the terminal output displays the service is installed (example output below), skip to the next section of SSH troubleshooting.
If the output says the service could not be found, enter the following command:
shellsudo apt updatethen the following command:
shellsudo apt install openssh-server
Continue to the following section of the manual.
Check the SSH service is running properly
Start the terminal.
Run the following command:
shellsudo systemctl status sshd.serviceCheck the Active row in the terminal output. If the service is inactive, run the following command:
shellsudo systemctl start sshd.servicethen repeat the first command to check the status again:
shellsudo systemctl status sshd.serviceCheck the Loaded row in the terminal output. If the service is disabled, run the following command:
shellsudo systemctl enable sshd.serviceThis ensures the service will be automatically started after every boot.