Create a Chrooted group addgroup chrooted Open up /etc/ssh/sshd_config and add the following to the end of it Subsystem sftp internal-sftp Match group chrooted ChrootDirectory /home/%u X11Forwarding no ForceCommand internal-sftp Restart SSHD /etc/init.d/ssh restart Then make users chrooted by adding them to the chrooted group adduser user chrooted Now when the user sftps the server [...]
Continue reading...
Sunday, May 3, 2009
0 Comments