It’s insane to me that in 2024 it still takes this much back and forth to set up a server.
I even recently tried automating this but quickly realized I was falling into an XKCD trap because the process is so damn painful.
replies(1):
There are modules for setting up ssh, adding users, installing packages, etc.