I am using Ubuntu 16 desktop, but I do plan to SSH into my machine just as much, if not more, than I use it as a desktop.
I am noticing that when I issue an sudo reboot
command while I am SSH'd in, the machine will reboot, but it will no longer be accessible via SSH. I notice the machine action will reboot then go into a sleep state.
I am it set to allow network connections before log in and I have toggled "auto login" but neither worked.
I really just want it to work like a typical Linux Server where SSH can be performed after a reboot. I would prefer the machine to reboot, then start up, fire up my profile tasks, and stay awake till I issue a sleep or shutdown command manually.
Update: it was suggested that this issue would cover me (SSH is allowing remote connections only after a local login to the server) But I think it may be outdated as I do not have a /home/eric/.ssh/authorized_keys
file... My SSH does work as along as I have already manually logged into my machine.