this post was submitted on 25 Apr 2025
9 points (100.0% liked)

Self-hosting

3292 readers
2 users here now

Hosting your own services. Preferably at home and on low-power or shared hardware.

Also check out:

founded 3 years ago
MODERATORS
 

There is a periodic meeting of linux users in my area where everyone brings laptops and connects to a LAN. Just wondering if I want to share files with them, what are decent options? Is FTP still the best option or has anything more interesting emerged in the past couple decades? Guess I would not want to maintain a webpage so web servers are nixed. It’s mainly so ppl can fetch linux ISO images and perhaps upload what they have as well.

top 20 comments
sorted by: hot top controversial new old
[–] [email protected] 9 points 3 days ago

I vote for passing around a dirty, unmarked thumb drive

[–] [email protected] 7 points 3 days ago

Is there any reason to not just use samba or NFS?

[–] [email protected] 3 points 2 days ago

Guess I would not want to maintain a webpage so web servers are nixed

You could still use WebDAV. It's simple and works with most file managers.

[–] [email protected] 3 points 2 days ago (1 children)

sFTP. If you have a machine with a ssh server, it has sFTP capabilities.

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

Indeed i noticed openssh-sftp-server was automatically installed with Debian 12. Guess I’ll look into that first. Might be interesting if ppl could choose between FTP or mounting with SSHFS.

(edit) found this guide

Thanks for mentioning it. It encouraged me to look closer at it and I believe it’s well suited for my needs.

[–] [email protected] 1 points 1 day ago (1 children)

Filezilla is also a popular option

[–] [email protected] 1 points 1 day ago (1 children)

I use filezilla but AFAIK it’s just a client not a server.

[–] [email protected] 1 points 22 hours ago

Yes, I meant as a client. I thought you were looking at options to hook up guests to a openssh-sftp-server

[–] [email protected] 3 points 2 days ago* (last edited 2 days ago) (3 children)

Over WiFi? Pass around physical media. Nothing ruins a LAN party like someone saturating 90% of the connection to transfer ISOs.

If it's a dedicated file server, with its own network, then the obvious choice is Samba.

[–] [email protected] 3 points 2 days ago (1 children)

Samba on a Linux user meeting? lol 😅

[–] [email protected] 4 points 2 days ago

I mean, yeah?

NFS is great and all, but it's not compatible with everything out of the box. Generally, samba is compatible with everything. Linux, Windows, Mac, whatever.

Samba is the obvious choice because it's compatible with everything out of the box.

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

Wonder which distros they passing

[–] [email protected] 2 points 2 days ago

The kid in me hopes its Slackware, but the loser in me hopes its Arch. 😂😂😂

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

It's all fun and games until someone brings a USB 2.0 thumb drive.

The file could transferred over the LAN and the network de-saturated faster the file could be copied off a USB 2 drive.

[–] [email protected] 1 points 2 days ago

I haven't seen a USB 2.0 drive in 15 or so years. So I'd say you're pretty safe... And even if that were the case, it's still preferable vs hogging the connection for a single file.

USB transfer only affects you with slow speeds until the transfer is done. Network transfer affects the entire party with slow speeds until the transfer is done.

It's the obvious choice if you're having saturation issues, even at 2.0 speeds.

[–] ALERT 1 points 2 days ago

rejetto hfs.

[–] [email protected] 1 points 2 days ago

By the life of the party by bringing crossover cable, allowing you run ethernet directly from one laptop to the other for some intimate social networking. Keeps the LAN uncongested for everyone else.

Nice ethernet hardware will detect if you cable is not a crossover cable in this situation and reverse the pin mappings for you.

[–] [email protected] 1 points 2 days ago

You could try this: https://github.com/drakkan/sftpgo

But in general for some quick adhoc file upload classic FTP is still not bad.

[–] [email protected] 1 points 3 days ago (1 children)

Is PirateBox still a thing? IIRC that was the exact use case for those 🙂

Edit: nvm, https://piratebox.cc/ shut down in 2019. I'm old.

[–] [email protected] 2 points 2 days ago

That’s pretty cool