Re: chrooted rssh
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Vadkan Jozsef wrote:
> Does someone has an easy howto for only allowing e.g.: scp with rssh
> [chrooted]?
aptitude install scponly
or
aptitude install rssh
and configure the passwd for the respective user(s)
10:18:20-johannes@e13-v21:~$ aptitude show scponly
Description: Restricts the commands available to scp- and sftp-users
"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
priviledges. Functionally, it is best described as a wrapper to the
mostly trusted suite of ssh applications.
10:18:57-johannes@e13-v21:~$ aptitude show rssh
Description: Restricted shell allowing only scp, sftp, cvs, rsync and/or
rdist
rssh is a restricted shell, used as a login shell, that allows users to
perform only scp, sftp, cvs, rdist, and/or rsync operations.
It can also optionally chroot user logins into a restricted jail.
Cheers,
- --
Johannes
Three nations have not officially adopted the International System
of Units as their primary or sole system of measurement: Burma,
Liberia, and the United States.
http://en.wikipedia.org/wiki/Si_units
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAktdZHsACgkQC1NzPRl9qEVfvgCeKm5CHUPyQF9SidFm9xHgLk4O
M4oAn3qG/knF3sO/inVCwbEZzlFYnu/Q
=O0if
-----END PGP SIGNATURE-----
Reply to: