2
I've set up SFTP/SSH so that a user can only put
to their home directory, however, they can still cd
to all other directories and get
files that they see.
How can I prevent this?
EDIT:
My sshd_config: http://pastebin.com/jk7TCRZr
I've managed to lock to /var/www, but they can still view other user's folders.
EDIT 2:
Errm..... I just realized what I did wrong ... Ha ha
On another note, how could I make the public_html folder the folder that Apache tries to load data from?
That's what I've been trying to do for awhile now. Check the OP, just updated with link to my config. – None – 2012-12-28T12:43:35.393
Here's a link to show how this "chroot" thing works:http://www.thegeekstuff.com/2012/03/chroot-sftp-setup/
– None – 2012-12-28T13:03:20.250