Restricting SSH and FTP user to a specific directory

Discussion in 'Installation/Configuration' started by infernon, Jun 5, 2007.

  1. infernon

    infernon New Member

    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.
     
  2. falko

    falko Super Moderator Howtoforge Staff

  3. infernon

    infernon New Member

    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!
     

Share This Page