Oct 17, 2009
•
1 min read
Sftp chroot settings
cat /etc/ssh/sshd_configSubsystem sftp internal-sftpMatch group sftponlyChrootDirectory /chrootX11Forwarding noAllowTcpForwarding noForceCommand internal-sftpcat /etc/passwdtestuser:x:500:504::/:/bin/bashsftponly:x:504:testuser