How to set up chroot SFTP on Red Hat Enterprise Linux ?
Issue
- How to set up chroot sftp on Red Hat Enterprise Linux ?
- How to setup sftp so that a specially-created ftp user can't get out of its home directory ?
- How to setup sftp such that user can only access their home directory and its subdirectories ?
- How to chroot-jail ?
Environment
- Red Hat Enterprise Linux 5.4 and above
- Red Hat Enterprise Linux 6
openssh-server-4.3p2-30.el5or later
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
