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.

Advertisement

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

Most FTP servers have the function built-in.

Last modified: by martin