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
#!/bin/bash | |
#### | |
# This script automatically creates SFTP Account and allow only access to Home Directory | |
# Inspired by: # https://www.hostfav.com/blog/index.php/2017/09/08/script-to-create-a-sftp-user-to-access-only-home-directory-ubuntu-12x-14x-or-16x/ | |
# Author: Luis Soto | |
# | |
# Date: 04/05/20 | |
# | |
# Tested in Ubuntu 19.04 |