Comment on How can I keep my forwarded port secure?

just_another_person@lemmy.world ⁨2⁩ ⁨months⁩ ago

You cant. You can only do your best to make it as secure as possible, but given enough time, someone can break it.

Basic tips:

For ssh specifically, lock down your sshd config, make sure only key-based is enabled, and may as an extra step create a dedicated user, and jail it by only allowing it access for the commands you need to interact with.

source
Sort:hotnewtop