Digital Ocean droplet FTP can be set up easily with a little help from our experts. Read on to find out more.
At Bobcares, we offer solutions for every query, big and small, as a part of our DigitalOcean Support Services.
Let’s take a look at how our DIgitalOceanSupport Team is ready to help customers with Digital Ocean droplet FTP.
How to set up Digital Ocean droplet FTP
Today, we are going to learn how to configure FTP server on the Digital Ocean droplet. In this scenario, we are going to use ProFTPD as our FTP server.
- To begin with, install ProFTPD with the following command:
apt-get update && apt-get install proftpd
- Then, we have to add /bin/false to the list of valid shells in the Digital Ocean droplet. Since ProFTPD’s default configuration requires a valid shell for access, we have to use the following in order to prevent direct shell access:
echo '/bin/false' >> /etc/shells
- Next, our Support Techs recommend changing the server name by editing the /etc/proftpd/proftpd.conf file.
- After that, we have to create a new user with access to the FTP server:
useradd --shell /bin/false yourusername
- Then, we will set the password with the command:
passwd yourusername
- Now, it is time to set specific directories that the users can access
mkdir /home/somedirectory chown yourusername:yourusername /home/somedirectory
- Once everything is in place, we will restart the server for the changes to take effect.
Then, we can verify the success of the above steps by creating an empty file in the user’s directory:
echo "Test!" > /home/somedirectory/test.txt
We can access the server by opening up an FTP client with a tool like Cyberduck. We have to fill in the IP address and use the login details from the above process to log in. Remember to set the port to 21.
After logging in, click Connect and we will be able to see the test.txt file we created earlier.
[Need assistance with a different issue? We are available 24/7.]
Conclusion
In a nutshell, our skilled DO Support Engineers at Bobcares took us through setting up Digital Ocean droplet FTP.
PREVENT YOUR SERVER FROM CRASHING!
Never again lose customers to poor server speed! Let us help you.
Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.
0 Comments