How to keep the user in a specified directory on the server? (chroot session)

For security and other reasons this is server’s job to ensure that users stay in particular directory only.

Some SSH/SFTP servers have the function built-in, such as:

Advertisement

Most FTP servers have the function built-in.

Last modified: by martin