How to configure sftp chroot jail environment to allow users to configure their webpages without being able to access any other system directories.

Solution Verified - Updated -

Issue

  • Organization is hosting multiple websites using Apache virtual hosting. Webadmin needs to have access to one directory and to be able to upload files via "sftp", however, he should not have access via "ssh" or be able to browse any other system directories.

Environment

  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.