Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5035

Networking and servers • Re: Automatic file server?

$
0
0
If you only want (s)ftp and aren't bothered about security here's an option:
  1. Enable ssh
  2. Boot to the desktop with automatic login
  3. Plug/unplug drive(s)
Enabling ssh gets you sftp for free.

Booting to the desktop gets you automatic mounting. It should have removal detection too but I've never relied on that. TBH, I don't use the desktop's automounter either.

Remote users login with an sftp (not ftp) client as the same user that's logged in to the desktop then navigate to /media/insert-username-here where they'll see the auto mounted drives.

It's insecure as remote users will have access to the entire file system not just the mounted drives. But it's about a basic as you can get.

Statistics: Posted by thagrol — Sat Feb 10, 2024 7:49 pm



Viewing all articles
Browse latest Browse all 5035

Trending Articles