Coming soon - Get a detailed view of why an account is flagged as spam!
view details
2
What's a good way to serve (local) files over the internet?
Post Body

I have a personal server that has served me well on my local network - mostly as a file server over SSH - and it worked well for what it is. My personal network has a stable-ish public IP address. I recently intend to open it up for use of my family members, however am unsure of how. The concerns:

1) Family members are generally trusted, but they come from uncertain IP addresses. I know from past experience that exposing password-authorized port 22 to public internet is generally a bad idea (the Chinese/Ukrainian bruteforcing comes within a couple hours, and they won't stop till you're pwned), and I can't just restrict it to local network if it is going to be usable.

2) Public key-only SSH might be an option, but how do I make sure the keys are secure in transit / at the clients?

3) Fail2ban is another option I've thought about, however I'm unsure about how to balance between brute-force deterrance and usability.

4) Is there any other file-serving protocol that is safer than SSH/sftp, i.e. stuff that is more sandboxed and does not grant ability to execute code, even if it's compromised? This might be a good way to get around trying to secure SSH connections from the internet, but I don't know much about the alternatives - ideally it should be something that's relatively easy to setup, Nextcloud seems a little intimidating.

Author
Account Strength
100%
Account Age
10 years
Verified Email
Yes
Verified Flair
No
Total Karma
55,742
Link Karma
7,402
Comment Karma
47,916
Profile updated: 6 months ago
Posts updated: 6 months ago
Glorious OpenSuse

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
7 years ago