SFTP chroot

To put some users in a chroot for sftp you need to adjust a few settings in your sshd_config: Subsystem sftp internal-sftp Match Group sftponly ForceCommand internal-sftp -l VERBOSE ChrootDirectory /srv/sftp X11Forwarding no AllowTcpForwarding no After that you can add a user for sftp and give him a home directory under your chroot. Use / […]

SFTP chroot Read More »