this post was submitted on 28 Nov 2023
3 points (100.0% liked)

Self-Hosted Main

517 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 2 years ago
MODERATORS
 

i want to remotely ssh to my home server, and I was wondering if I could just forward port 22 with disabling password login and use pubkey authentication will be safe enough?

you are viewing a single comment's thread
view the rest of the comments
[–] gnordli@alien.top 2 points 1 year ago (2 children)

If you are going all out, may as well add hosts.deny and hosts.allow.

[–] Kazer67@alien.top 1 points 1 year ago

Add port knocking, if we go all out, let's go all out!

[–] kaipee@alien.top 1 points 1 year ago (1 children)

Easy to do with known internal networks.

Difficult to manage when roaming.

[–] gnordli@alien.top 1 points 1 year ago

Absolutely, just sometimes people forget those tools even exist. Of course, you can easily do the same thing with firewall rules as well.

Also, that was a great tidbit about the pam email notification on successful logon. I haven't seen that one before, thank you!!