How to set chroot jail for sftp.
(Doc ID 1324167.1)
Last updated on APRIL 28, 2020
Applies to:
Linux OS - Version Oracle Linux 5.0 and laterOracle Cloud Infrastructure - Version N/A and later
Linux x86-64
Linux x86
Goal
This document explains how to set up a chroot environment to avoid unwanted alterations of the system including uploads in unwanted locations when users are making use of sftp.
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |
Method A (by using pam_chroot) |
Method B (by openssh natively) |