Configure scponly chrooted in Linux
FTP - Chrooting using scponly Howto Centos 5.1 Chrooting SFTP using SCPonly Installation GCC is installed. OpenSSH is installed. Download scponly from: SCPONLY Link and extract it to /tmp Configure Your Installation Navigate into the directory in /tmp where you extracted scponly. Configure with the bellow command: ./configure --enable-chrooted-binary Build&Install The Binaries make make install This will install your manpage and scponly binary/binaries. Edit /etc/shells using vi to look like this: /bin/sh /bin/bash /sbin/nologin /bin/tcsh /bin/csh /bin/ksh /usr/local/sbin/scponlyc If you want to not use scponly in a chrooted fashion then use the following instead of scponlyc: /usr/local/bin/scponly Set up the jail with the following command which invokes a helper script: make jail The output will look similar to below: /usr/bin/install -c -d /usr/local/bin /usr/bin/install -c -d /usr/local/man/man8 /usr/bin/install -c -d /usr/local/etc/scpon...