To do that, let's create one and then assign permissions to it: mkdir /home/somedirectoryĬhown yourusername:yourusername /home/somedirectory
#How to setup mac ftp server password#
Set a password for that user: passwd yourusernameĪt this point, we need to set up specific directories that we'll allow your users to access. Setting Up Directories, Users, and PermissionsĪfter that, create a new user that'll have access to the FTP server. If you want, I'd at least recommend changing the server name to something more personalized: vi /etc/proftpd/nf echo '/bin/false' > /etc/shellsĪlthough it's technically optional for a stupid-simple setup, you can modify the default configuration file generated when installing ProFTPD.
![how to setup mac ftp server how to setup mac ftp server](http://dc9wlm4wphap8.cloudfront.net/support/wp-content/uploads/2013/04/32.png)
ProFTPD's default configuration will require that a valid shell be used to gain access, and we'll be using this particular value to prevent direct shell access to the system.
#How to setup mac ftp server install#
The update may be especially important, depending on your version of Ubuntu (I'm on 20.04): apt-get update & apt-get install proftpdĪdd /bin/false to our list of valid shells in our droplet. It's a pretty reputable tool that's straightforward to set up. We'll be using ProFTPD for our FTP server. We'll be spending most of our time inside the droplet, so go ahead and log in. To start, I'm assuming you have a DigitalOcean droplet running on Ubuntu, and that you're able to access it via SSH. If you're looking on setting up a server with an SFTP protocol, or in-depth configuration capabilities, you might need to use what you see here as the foundation, but you'll need to search elsewhere for the rest. This is essentially a set of my beautified notes on the process of setting that up.īefore starting, let's set some expectations: this implementation is very bare-bones, and it isn't concerned with making everything as secure as possible. I did some brief discovery and determined that a good, ol' DigitalOcean droplet is a great candidate for hosting a simple server like this. My technical requirements were stupid simple, the data I'd be dealing with wasn't sensitive, and I wanted to avoid paying for an expensive and/or complicated service, at least to start.
![how to setup mac ftp server how to setup mac ftp server](https://www.howtogeek.com/wp-content/uploads/2013/03/1-ftpserver.jpg)
![how to setup mac ftp server how to setup mac ftp server](https://i0.wp.com/www.betterhostreview.com/wp-content/uploads/start-filezilla-ftp-server-xampp.jpg)
A project of mine recently needed a simple FTP server that can give multiple different users access to the contents of specific directories (and only those directories).