776
Convincing (media.piefed.social)

(The meme's author may be convinced but I am still not, to be clear)

From: https://terra.incognita.net/@RainofTerra/116168632108345829

you are viewing a single comment's thread
view the rest of the comments
[-] Luminous5481@anarchist.nexus 43 points 2 months ago

this seems like something I would do too, which is why I haven't installed fail2ban

[-] ramasses@social.ozymandias.club 13 points 2 months ago* (last edited 2 months ago)

You should really install fail2ban, just for peace of mind. If you dont, at the very least setup SSH keys.

[-] hexagonwin@lemmy.today 5 points 2 months ago

unless I have an insecure password or a security vulnerability in sshd, how would it be a problem? I haven't had any issues for the last 6 years.

[-] Urist@lemmy.ml 3 points 2 months ago

You mean key based SSH authentication? Yes, but if you have done so and this is the only attack vector, I do not see the need for fail2ban.

[-] Luminous5481@anarchist.nexus 3 points 2 months ago

I was making a joke. I already have rate limiting protecting my Authelia login page.

[-] ozymandias117@lemmy.world 5 points 2 months ago

I set up, and prefer, iptables rules to rate limit logins.

I have mine set so you can connect up to 5 times per 15 minutes.

Blocks bots well enough, and if I really mess up, I just wait 15 mins

[-] smiletolerantly@awful.systems 3 points 2 months ago* (last edited 2 months ago)

The nice thing about SSH key-based access is, I either have the key and login succeeds, or I have no business trying to log in.

That's why my remote root server bans via fail2ban after a single failed login.

Yes I've had to write support to get a KVM. Yes it's still configured like this.

[-] baguettefish@discuss.tchncs.de 3 points 2 months ago

i am a tailscale enjoyer, which means i can set up tailscale ssh once on each machine and then from another machine just login over tailscale

[-] InternetCitizen2@lemmy.world 2 points 2 months ago

How's that different from normal ssh?

[-] baguettefish@discuss.tchncs.de 1 points 2 months ago

you can disable the need for a password or key if you like, and you also don't really need fail2ban, since nothing is actually port forwarded anywhere

[-] glibg10b@lemmy.zip 1 points 2 months ago

With Tailscale, you don't have to open your SSH port to the whole internet. It's actually kind of silly that many servers are still exposing ports for private services on the internet

[-] smiletolerantly@awful.systems 2 points 2 months ago* (last edited 2 months ago)

Eh, the machine is actually in one of my wireguard nets anyways, but for different purposes.

[-] probablymissing@lemmy.world 0 points 2 months ago

as a nixos enjoyer, i have no idea how to setup ssh keys. fail2ban and a regular password for me.

yes, i have locked myself out of my own server for hours at a time because i'm an absolute tool.

[-] smiletolerantly@awful.systems 4 points 2 months ago

Ehm... I'm also on Nixos and I'd say it's super trivial.

services.openssh = {
  enable = true;
  settings = {
    PasswordAuthentication = false;
    PermitRootLogin = "no";
  };
};

users.users.<name>.openssh.authorizedKeys.keys = [ list of pubkeys ideally read from file in repo ];
[-] Urist@lemmy.ml 2 points 2 months ago

So easy it should be illegal! I mean, how can we feel superior if we are not wasting huge amounts of time setting things up!?

[-] smiletolerantly@awful.systems 3 points 2 months ago

I mean, how can we feel superior if we are not wasting huge amounts of time setting things up!?

Why, by boasting that it's so easy, just look at that, it is only two options you need to set thanks to the 80 custom modules I've written to abstract the abstractions from nixpkgs!

I WISH I could put an /s here, but I cannot.

this post was submitted on 04 Mar 2026
776 points (99.1% liked)

Programmer Humor

31231 readers
2261 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS