SSH
Socket proxy with ssh
by Emre Tugriceri on Dec.26, 2010, under Shell, SSH
ssh -D 7200 root@hostname

Sftp chroot settings
by Emre Tugriceri on Oct.17, 2009, under Security, SSH
cat /etc/ssh/sshd_config
Subsystem sftp internal-sftp
Match group sftponly
ChrootDirectory /chroot
X11Forwarding no
AllowTcpForwarding no
ForceCommand internal-sftp
cat /etc/passwd
testuser:x:500:504::/:/bin/bash
sftponly:x:504:testuser
