Skip to navigation

How to set up SFTP to chroot only for specific users

Updated 2014-03-12T06:46:34+00:00

Issue

  • How to set up sftp to chroot only for specific users
  • How to set up sftp so that a user can't get out of their home directory, ensuring no other users are affected
  • Preserve normal ssh/sftp functionality for most other users
  • Support for sftp/scp account jails in openssh server

Environment

  • Red Hat Enterprise Linux (RHEL) 6

Subscriber content preview. For full access to the Red Hat Knowledgebase, please log in.

Not a subscriber? Learn more about the benefits of Red Hat Subscriptions.