- what is scponly?
- "scponly" is an alternative 'shell' (of sorts) for system administrators who would like to provide access to remote users to both read and write local files without providing any remote execution privileges. Functionally, it is best described as a wrapper to the "tried and true" ssh suite of applications.
- A typical usage of scponly is in creating a semi-public account not unlike the concept of anonymous login for ftp. This allows an administrator to share files in the same way an anon ftp setup would, only employing all the protection that ssh provides. This is especially significant if you consider that ftp authentications traverse public networks in a plaintext format.
Use 'chsh(1)' to set someone's login shell to be scponly, and then that user can use scp but not get an interactive shell. You may also want to put them in a chroot(8) jail to prevent them snooping around your system (see ChrootNotes).
Your package management probably has this - Debian users can 'apt-get install scponly'.