this post was submitted on 19 Apr 2024
258 points (98.1% liked)

Linux

48353 readers
476 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Whether you're really passionate about RPC, MQTT, Matrix or wayland, tell us more about the protocols or open standards you have strong opinions on!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 7 months ago (1 children)

That's not even the type of setup you should use. Use a VPN of the type designed for games and IoT stuff, like ZeroTier, n2n, and more. Then you set up a local file share using something like Samba, only accessible by the people who can connect to your local network via the VPN.

The public facing VPN code will be MUCH more hardened against attack than your typical sharing tool with port forwarding.

[–] [email protected] 1 points 7 months ago (2 children)

I'm less worried about attack than barriers to sharing.

[–] [email protected] 1 points 7 months ago (1 children)

If you set up port forwarding for file shares you must keep setting it up again for every new service.

If you set up a VPN once then you're simply done. Every new service you set up is available directly.

[–] [email protected] 1 points 7 months ago (1 children)
[–] [email protected] 1 points 7 months ago (1 children)

ZeroTier can be a fully self hosted VPN. You set up a server locally, port forward only the VPN service, and then everything else you run is accessible through it for the people you give access to.

[–] [email protected] 0 points 7 months ago (1 children)

Who knows what else it does with that secret code.

[–] [email protected] 2 points 7 months ago

They're are multiple open source options like n2n

[–] [email protected] 0 points 7 months ago (1 children)

ZeroTier is pretty easy to set up, but at the point where you're worrying about "barriers to sharing" you should probably using a cloud service anyway.

[–] [email protected] 1 points 7 months ago (1 children)

Ahhh but that's the thing. A middleman being necessary is very against my values. I don't want there being someone else or there limiting or telling me no. I'm not letting someone else's DMCA compliance tell me what I can have. I'm also not really interested in non FLOSS.

[–] [email protected] 1 points 7 months ago* (last edited 7 months ago) (1 children)

You should be able to just use ssh/sftp. There are lots of great clients, and you can absolutely still use usernames and passwords, no public/private key stuff required. You can even use ssh and scp right from powershell on Windows boxen if you're so inclined. There's winscp, and if you want filesystem mounting, there's this: https://github.com/winfsp/sshfs-win
For macos and Linux, the options are far more plentiful.

Edit: there's also file pizza, which is a file transfer thingy with no middle man that's open source, although it's not copyleft AFAICT: https://github.com/kern/filepizza
and similar tools. Not really what you're after, I just think it's neat.

[–] [email protected] 1 points 7 months ago (1 children)

It's probably been 15 years since I used ssh. I'm gonna guess there's better UI for it now, or at least a UI at all.

[–] [email protected] 1 points 7 months ago* (last edited 7 months ago) (1 children)

There are definitely a lot of good options out there. What are you using right now for regular old FTP? The odds are actually pretty good that it already supports SFTP. A lot of file management applications do both and lump them together, even though they're completely different protocols (sftp is from the late nineties).

If it doesn't, then I don't know what OS you're using, so I'll just recommend options for the big 3. For Windows, there's WinSCP. For MacOS there's Cyberduck. Most file managers on Linux distros let you just type sftp://me@wherever in the navigation bar, meaning you get a totally seamless experience with the rest of your FS.

EDIT: or, you can use sshfs-win on Windows and have your remote filesystem show up as a regular ol' drive, just like SMB. MacOS and Linux have sshfs, and I know there are GUIs wrapping sshfs on those platforms. I personally use sshfs at home and it's great (although no GUI wrapper, I'm a weirdo who doesn't use a graphical file manager at all).

[–] [email protected] 1 points 7 months ago (1 children)

Oh I don't have a computer right now. I got reamed by the law over a lie from a road rager and lost everything.

[–] [email protected] 1 points 7 months ago (1 children)

:( I'm sorry to hear that. Well, for Android there's MaterialFiles, which is fully FLOSS and supports FTP, SFTP, and SMB. Not sure about iOS, but I imagine there are options there.

I hope that your journey through life becomes a little less rocky.

[–] [email protected] 1 points 7 months ago

Thanks for talking to me about all this.