Can I confine my users to their /home/%u directory using only OpenSSH configuration? From instructions I found on the Internet, I stopped the SSH server and appended the following to the
Match group sftpusers ChrootDirectory /home/%u X11Forwarding no AllowTcpForwarding no
I then started the SSH server again.
FYI I have the users added to
My users can still browse i.e
cd / and are able to use cat command to list file content (
cat /usr/bin/test.sh) in entire file structure on my system
I'm running Ubuntu Server 12.04 LTS.