Internal SFTP Settings
- by matt ryan
Goal: to limit user access to home directory and symlinked directories in home.
I tried the following configuration in sshd_config
# Subsystem sftp /usr/lib/openssh/sftp-server
Subsystem sftp internal-sftp
Match user matt
ChrootDirectory %h
X11Forwarding no
AllowTcpForwarding no
ForceCommand internal-sftp
and then restarted…