1
I’m setting up my own home Raspberry Pi server/NAS and I’m looking to be able to access outside the home network. This has however prompted me to rethink the whole setup.
I have an external HDD connected to the Raspberry Pi, that holds all relevant data that I want to manage/share.
I have the vsftpd
creating an FTP server for the home LAN, btsync
syncing a specific server folder, the transmission
daemon managing downloads, and I’d like to be able to access the FTP data with SFTP.
I have two major concerns:
User management. Is it advisable to have each service/daemon run by a single user with restricted permissions within each context, or a normal user (obviously not root) running all the services?
Write permissions. How would one disable writing when acessing over SFTP via the Internet. And how can I limit FTP access to just a single folder/user home folder?
Do you want SFTP or FTPS?
vsftpd
is an FTP/FTPS server, not an SFTP server. – Kenster – 2015-03-04T20:42:28.480SFTP, I have
sshd
running and use it to access the server when I'm not at home. The FTP server would just be for use within the LAN. – joaocandre – 2015-03-04T20:50:46.457