Restricted User Shell
In this chapter 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 /incoming directory is located on server in /home/ftp directory, but that is 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 October 1, 2016 using makeinfo.Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.