How do I install the FTP server to add a user?
To add a FTP user, you first need to install the FTP server. To do this, connect to the server once via SSH(Putty).
To install the FTP server now, enter the following apt-get install proftpd. You have to confirm the request with a Y and enter:
Now we still have to adjust the config. For this we enter the following nano /etc/proftpd/proftpd.conf and confirm. Afterwards the config file is opened in the Nanoeditor:
The following entries must be added:
Now the FTP server must be restarted so that the changes are applied. This can be done with the following command: service proftpd restart
How do I add an FTP user?
To create the new FTP user, we first have to create an FTP group. We do this with the command addgroup ftpuser. This will look like this:
Now we can add our first FTP user with the commands: adduser benutzerftp -shell /bin/false -home /var/www and then adduser benutzerftp ftpuser.
Now we are asked to set a password:
Then we have to confirm that the entries are correct:
The last step is to assign the new user to the group via adduser benutzerftp ftpuser :
Now we can connect with our set information: