failed to start ssh.service: unit ssh.service not found. code example
Example 1: Failed to restart sshd.service: Unit sshd.service not found
sudo apt-get install openssh-server
Example 2: Failed to start ssh.service: Unit ssh.service not found.
sudo apt-get install openssh-server
# Source
# https://unix.stackexchange.com/questions/520341/ssh-installed-but-i-get-the-error-failed-to-start-ssh-service-unit-ssh-service
# start SSH
sudo systemctl start ssh
# connect host server
sudo root@server-address -p password
exit