On Wed, Aug 25, 2010 at 01:00:36PM -0400, Juan Miscaro wrote:
> Hi gang,
>
> I have found Linux info [1] on restricting users to file transfers
> (sftp, scp, rsync, etc) using rssh. Is this recommended from OpenSSH
> developers? Is there a native way of doing this (in OpenBSD, in
> Linux)?
>
> [1]
> http://www.cyberciti.biz/tips/rhel-centos-linux-install-configure-rssh-shell.html
That information is long since outdated; look at Match, ChrootDirectory
and "ForceCommand internal-sftp" in sshd_config(5). Reading the man page
is a good idea anyway.
Joachim