Skip to content

Instantly share code, notes, and snippets.

View lsotoangeldonis's full-sized avatar

Luis David lsotoangeldonis

View GitHub Profile
#!/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