I'd like to set up a remote user that only has access to /var/www via ssh and sftp.
Is this possible ? I can use something like rbash to lock a user in to the home directory (which I can then usermod to /var/www) - But I also want a similar sort of control for a user when they sftp into my machine. In particular I don't want them to be able to view the directory structure.
I feel I'm close but I'm missing something with regard sftp.