gh2o / digitalocean-debian-to-arch

Script to convert a Debian installation on DigitalOcean to Arch Linux
MIT License
830 stars 69 forks source link

sshd not active after reboot #69

Closed kim366 closed 6 years ago

kim366 commented 6 years ago

When I reboot my droplet, I get connection refused on port 22 when trying to connect with ssh. Only after I log in through the DigitalOcean console, does (presumably) sshd start and I can connect via ssh. Why does sshd not start before the login on the physical machine? Or should I make a dummy user with no password that automatically logs in to start this service?

z3ntu commented 6 years ago

systemctl enable sshd.service ?

kim366 commented 6 years ago

systemctl enable sshd.socket was the solution. Thanks!