Restricted User Shell
In this section we will explain how to write GNU Rush configuration rules for several popular remote copy and version control system utilities. For this purpose, we assume the following setup:
rsyncto upload files to the /incoming directory and to copy files to and from their ~/public_html directory. The actual location of the /incoming directory is /home/ftp, but that must be transparent to users, i.e. they use
scp file host:/incoming(not
host:/home/ftp/incoming) to upload files.
sftpto manage their ~/public_html directory. In this case, to prevent users from accessing other directories,
sftp-serveris executed in a chrooted environment.
This document was generated on June 29, 2019 using makeinfo.Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.