Hello Everyone, Is it possible to restrict the access of a user who uses both FTP and SSH to a specific directory? In other words, I'd like to have this user only have access to his home directory. I'm working off of a CentOS box, but I'm a bit new to the innards of user administration.
Which FTP server do you use? Proftpd or vsftpd? Regarding SSH: you can chroot your SSH users, but you must recompile OpenSSH. This tutorial (for Debian) shows how to do that: http://www.howtoforge.com/chrooted_ssh_howto_debian
Thank you. Thank you for responding to this. I found a nice tutorial on creating a chroot jail after I posted this yesterday. As far as the FTP server goes, I'm running proftpd. I figured out how to work around that as well. Thanks again!