Last active
December 18, 2015 17:38
-
-
Save jlengstorf/5819482 to your computer and use it in GitHub Desktop.
How to add a new SFTP user
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo useradd -d /var/www/vhosts/DOMAIN_NAME -g production -G sftp-only -s /bin/false USER_NAME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment