Lately i upgraded my SSH server with OpenSSH_5.9p1 and tried to setup chrooted SFTP/SSH. So far i managed to setup chrooted access only for SFTP using new feature of openssh5.9p1:
Match User testuser
ChrootDirectory /home/testuser
X11Forwarding no
AllowTcpForwarding no
ForceCommand internal-sftp
But i need to enable SSH access as well for the same user. I followed many articles,and with this one http://www.howtoforge.com/chroot_ssh_sftp_fedora7 i managed to connect via SSH. But chroot seems not working, i still can browse outside folders.
Any suggestion please ?
Thanks.