I'm unclear on whether I should post on the old one or this one..
But what have you tried?
Quote:
I've followed multiple tutorials, none of them have worked.
|
That really doesn't say a whole lot.
Look through the first section of this link?
Code:
edit /etc/ssh/sshd_config (/etc/sshd_config on some distributions) and set the following options:
Subsystem sftp internal-sftp
Match Group sftp
ChrootDirectory %h
ForceCommand internal-sftp
AllowTcpForwarding no
More match statements
Quote:
like if the home folder is /home/servers it cannot go back to /home..
|
This is very unclear. Do you mean that they should not be able to access anything out of their ~/ directory?
That is what chroot is for, as unspawn said in your previous thread.