Skip to content

Instantly share code, notes, and snippets.

@fgbreel
Created November 19, 2012 16:50
Show Gist options
  • Save fgbreel/4111804 to your computer and use it in GitHub Desktop.
Save fgbreel/4111804 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
@diogenes
Copy link

Cool thing, man! 😎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment