I'm using both Redhat and CentOS. I previously wanted to jail a "Specific User" to its home. Then i got it by following this answer.
When the user (lets say, using FileZilla) use:
- Protocol:
FTP
.. it is fine!
But again there, when the user connects with:
- Protocol:
SFTP
(in the FileZilla setting)
.. the Jailing for that Specific User is NOT working anymore. Can still browse through.
How can i make it to have:
- In
vsFTPd
, jail a Specific User to its home when usingProtocol: SFTP
.
Thank you!
Hi yes sftp works with ssh configuration on port 22, http:/thegeekstuff.com/2012/03/chroot-sftp-setup would make you jailroot the users. You have to modify ssh configuration file to jail root the users.
Thanks & Regards,
Alok