Configuring FTP Access

From Sympl Wiki
Revision as of 20:49, 22 April 2020 by 6np (talk | contribs) (Initial page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

FTP can be set up in a number of ways, for the basic guide, we will look at the already enabled 'sympl' users access, setting up access per domain and then setting per user access for that domain

SSH FTP access

Any 'regular' user set up with an account on sympl, users set up with 'useradd' or 'adduser' command, will be able to connect over sftp by default. This is an ftp session created of ssh and as such carries the encryption of the ssh connection. You can connect using sftp using most FTP clients and you will need the ip address or hostname of the server, username and password. The 'sympl' user that was set up when sympl was installed will be able to connect over sftp.

Per domain access

You can set up ftp access to a domain by adding a file called 'ftp-password' containing the password to the relevent domain's config folder:


The easiest way to do this is to create the file, connect using SFTP as above with the 'sympl' users credentials, navigate to the remote directory /srv/ and then upload the file ftp-password. You will then be able to connect using Explicit FTPS to the server using as the username and the password that is in the ftp-password file. The directory path will automatically be set to the public folder of the domain /srv/

Per user domain access

For granting access to individual users to a domain you will need to set up another file called ftp-users. The file needs to be in the same location of /srv/

The file needs to be in the following format and comments start with a #:

  1. username:password:directory:quota

babs:babs password:babs:10M

This file will allow access to with the password babs password to the folder /srv/ with a userquota of 10M. The directory must be relative to the public folder of the domain the ftp-users file correlates to, otherwise you will get an authentication error.

For more details on configuring FTP Access, see FTP_Configuration_Reference

See Also