Skip to content

Instantly share code, notes, and snippets.

@frop
Forked from fgbreel/sshd_conf.sh
Created January 21, 2016 18:02
Show Gist options
  • Save frop/49f91b70bad12f49cb2e to your computer and use it in GitHub Desktop.
Save frop/49f91b70bad12f49cb2e to your computer and use it in GitHub Desktop.
SFTP with OpenSSH
Subsystem sftp "internal-sftp -u 0002"
Match Group sftponly
ChrootDirectory %h
AllowTCPForwarding no
X11Forwarding no
ForceCommand internal-sftp -u 0002
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment