Skip to content

Instantly share code, notes, and snippets.

@daudo
Created April 24, 2014 10:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daudo/11250137 to your computer and use it in GitHub Desktop.
Save daudo/11250137 to your computer and use it in GitHub Desktop.
sftp meets umask - finally
Subsystem sftp internal-sftp
Match group sftp-only
ChrootDirectory /home/sftp/
X11Forwarding no
AllowTcpForwarding no
ForceCommand internal-sftp -u 0002
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment