<story><title>Server Setup Basics for Self Hosting</title><url>https://becomesovran.com/blog/server-setup-basics.html</url></story><parent_chain></parent_chain><comment><author>solatic</author><text>Especially when writing a tutorial for beginners - please use the long-form flags  (e.g. sudo usermod --append --groups sudo newuser) instead of short-form flags (e.g. sudo usermod -aG sudo newuser). Short-form flags make commands look like arcane voodoo magic. They make sense only to help you save time entering commands if you know them by heart already. Tutorials are read by beginners who are not necessarily familiar with the commands in the first place - long-form flags help communicate what these commands are actually doing and thus make for a more effective tutorial.</text></comment>
<story><title>Server Setup Basics for Self Hosting</title><url>https://becomesovran.com/blog/server-setup-basics.html</url></story><parent_chain></parent_chain><comment><author>hobobaggins</author><text>I&amp;#x27;d switch to Userify if you have a team to distribute keys for, because it&amp;#x27;s ultra-lightweight and also keeps you from messing up permissions on the ssh key&amp;#x2F;directory, which I&amp;#x27;ve done too many times! (also it does sudo which is quite nice)&lt;p&gt;Also, restarting ssh will not boot you out of the session (your session has already been forked as a different process), so leave your terminal window open (to fix any screwups) and then log in on a separate window on the new port and just make sure you can get in.&lt;p&gt;For backups, don&amp;#x27;t set up logins from your main server(s) to your backup server; log in from your backup server to your main server. That way, if someone breaks into your main server, they can&amp;#x27;t get into your backup server.</text></comment>