Prev / Next

2012-04-12 / sftp で chroot と umask

Subsystem       sftp    internal-sftp -u 0022

Match Group sftponly
       PasswordAuthentication yes
       AllowAgentForwarding no
       AllowTcpForwarding no
       ChrootDirectory /var/www/hks_sftp
       ForceCommand internal-sftp -u 0002


comments powered by Disqus