[Wiki] Secure your VPS (A GitHub guide)

Just found this guide recently and it’s covering the basics I guess. Might be a good read for anyone interested in securing their freshly installed VPS:

8 Likes

thanks for link, I followed tutorial to see if there is anything I’m missing.
is it only me or does fail2ban feels too ancient to work with nowadays ? (I always been a fan of CSF)

As an administrator -

CSF is fucking garbage. It’s moldy feces attached to a hooker’s vagina at the bottom of a dump.

fail2ban at least does what it’s designed to do, but sshguard is a better product.

3 Likes

I have a surefire way to protect your VPS:

Trust me, not even you can SSH in now.

9 Likes

I tried your advise. my inbox filled with unreachable notifications :frowning:

2 Likes

Autoboot gonna sock it to ya …

@uptime

Way ahead of you: GitHub - FlamesRunner/AutoBoot: It works.

4 Likes

Incoming Dewlance patent infringement suit coming in lol

5 Likes

arrr … well I guess if I’ve set my VM up right, it will just be waiting for a LUKS passphrase whenever I get back to it and realize it’s been powered back up. (Or better yet, a GRUB password).

2 Likes

More good guides are always welcome !

post your tuts here

Any tips and tricks or recommended base settings for first time users of sshguard?

Arch actually has some pretty good first-timer info - sshguard - ArchWiki

2 Likes

Also, always use VisualHostKeys. If it doesn’t look like an infected molar, then it isn’t right!