Setup sFTP on a Forge provisioned server
Published on by Eric L. Barnes
Freek Van der Herten has a new tutorial on setting up sftp on a Forge box:
Most projects are hosted on their separate DigitalOcean droplets provisioned by Forge. Even the smallest droplet has a whopping 20 GB of diskspace. An ftp-server is not installed by default. That’s probably a good thing because ftp is an insecure and antiquated protocol. In this post I’d like to explain how you can help a client that wants ftp-like functions.
Our goal is to give a client read and write access to a single directory. We will make sure that the client cannot go outside that directory. We’ll also prohibit the client from executing any shell commands.
Eric is the creator of Laravel News and has been covering Laravel since 2012.