I have Ubuntu desktop 16.04 with almost default setup. I'm curious is it possible for someone from outside to connect to my machine via ssh? I don't have any other machines in my network so I can't check it by opening ssh session.
If it is possible I'd like to disable the access to stay more secure.
Q: How do I check the status of SSH access in mys system? How can I disable the access? If it is not possible what is the best way of protecting a machine?
I'm currently looking onto google-authenticator.
Here is the output of the
systemctl status sshd
$ systemctl status sshd ● sshd.service Loaded: not-found (Reason: No such file or directory) Active: inactive (dead)