VPS Setup and Security Checklist: Complete Self-Hosting Guide for 2025

https://bhargav.dev/blog/VPS_Setup_and_Security_Checklist_A_Complete_Self_Hosting_Guide

A good guide on initial server setup for users, ssh hardening and firewall settings. Not just useful for VPS it is basically the same steps on a home linux install too.

49 points · 6 comments · view on lemmy.world

6 Comments

Atherel@lemmy.dbzer0.com · 6 pts · 304d (2 replies)

I'd be cautious following simple commands and configs without explanation or knowing what they do. And when someone copies public keys via clipboard I'm skeptic. Use ssh-copy-id or at least scp. And with Hetzner you can add your public key to their panel and it will be automatically added to every installation.

As it is stated, this is just a journal / checklist for someone and made publicly available. Don't blindly follow such things without understanding what you are doing.

Krtek@feddit.org · 1 pts · 304d (1 reply)

Good call, I don't want to know how my clipboard history in KDE Plasma looks like

Atherel@lemmy.dbzer0.com · 3 pts · 304d

It's the public key so it's not bad for security reasons. For me it just feels wrong to copy the content of a file to another using the clipboard. It can cause problems and one day you'll do it out of habit with something you shouldn't.

TheJesusaurus@sh.itjust.works · 2 pts · 304d

Thiiiiis is what I've been looking for, thank you

francois@jlai.lu · 1 pts · 302d

It would be really nice to have ansible playbooks with the instructions

Lele@lemmy.ml · 1 pts · 305d

Coolify is mentioned in the title but never in the article, unless I missed it