Domains, hosting, VPS and dedicated servers in one place. Practical guides on servers, self-hosting and getting your site online.
Domains, hosting, VPS and dedicated servers in one place. Practical guides on servers, self-hosting and getting your site online. Your domain and your data belong to you.
Markdown supported · ⌘↵ to post
StackShortlist
Keeping the root session open until a second login as deploy works is the step that saves people from a lockout. One thing worth checking on cloud images: a drop-in under /etc/ssh/sshd_config.d/ such as 50-cloud-init.conf can already set PasswordAuthentication yes, and sshd keeps the first value it reads, so running sshd -T | grep passwordauthentication after the reload shows what actually applies. Also, ports published by Docker containers can skip the ufw rules entirely.