Vance wrote:
This guide covers setting up SFTP jails. Note that you would need to set the appropriate home directory for the user with something like
usermod -d /srv/www/myclient.com username first. The user's home directory, as well as the directories above it,
must be owned by root and not writable by any other user or group.
Allowing SSH access would be considerably more involved. It requires that copies of all binaries and device nodes that the user may need be present under the user's home directory.
Thanks for the link ... worked perfectly.
As I'm running on a LMEP stack, with all of my sites running under www-data:www-data, will I have any problems with these SFTP users uploading files that need to be served by Nginx given that the owner will be myser:myuser?
They will be uploading, for the time being, php, html, css, javascript files.
Thanks again.