My Oracle Support Banner

How to set chroot jail for sftp. (Doc ID 1324167.1)

Last updated on AUGUST 04, 2018

Applies to:

Linux OS - Version Oracle Linux 5.4 and later
Information in this document applies to any platform.

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)


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.