I have an Ubuntu Server, where several users log in to upload some files. Each user has a home directory, in which I 'd like to be chrooted.
e.g. user1 connects with sftp to the server and is located at his home directory (e.g. /var/www/user1) and I 'd like him to be unable to "see" outside of this directory. Is there any easy way to handle this?