Table of ContentsView in Frames

Enabling or disabling SFTP user home directory restrictions

You can enable or disable SFTP user home directory restrictions by setting the sftp.dir_restriction option to on or off, respectively. By default, this option is off.

About this task

If this option is set to on, regular users are restricted to their home directories or, if you specify a directory using the sftp.dir_override option, they are restricted to the override directory. If this option is off, regular users are not restricted to a particular directory.
Note: This option has no effect on the default user account.

Step

  1. Perform one of the following actions:
    If you want SFTP user home directory restrictions to be... Then...
    Enabled Enter the following command: options sftp.dir_restriction on
    Disabled Enter the following command: options sftp.dir_restriction off