Bytemark VHost FTP Server Setup
The website hosting part of the Byte mark virtual hosting collection uses pure-ftpd as its FTP server, as this is small, fast, and doesn't have a record of security problems.
Enabling FTP Access for a Domain
To enable a domain for FTP access you simply need to create a password for it.
If you have the domain example.com setup for web hosting you'd configure the password for FTP access by running the following two commands:
mkdir -p /srv/example.com/config/ echo 'mypa$$word' > /srv/example.com/config/ftp-password
The first command will create the directory to contain the password, and the second will actually record the password in that directory.
After you've done this FTP access will be enabled with the following username and pasword:
| Username | example.com |
| Password | mypa$$word |
Globally Disabling FTP Access
If you wish you may configure your firewall to disable all access to your FTP service:
# rm /etc/firewall/incoming.d/*-ftp # firewall
