howto chroot ssh ...

Alexander Dalloz ad+lists at uni-x.org
Thu Nov 4 17:51:09 UTC 2004


Am Do, den 04.11.2004 schrieb Dario Lesca um 10:06:

> ... for a single user.
> I must only allow the download/upload files with scp or sftp-server.
> 
> Now I use this script (*) in the shell command of user, but I not know
> howto chroot the sftp-server command ....

> Dario Lesca <d.lesca at solinos.it>

Such a script (and other chroot howtos to be found in the www) is not
worth the efforts because it is not really secure. Have a look at
http://freshmeat.net/projects/scponly/ if you want users to allow scp
but no shell access.

Alexander


-- 
Alexander Dalloz | Enger, Germany | new address - new key: 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora GNU/Linux Core 2 (Tettnang) on Athlon kernel 2.6.8-1.521smp 
Serendipity 18:49:58 up 15 days, 16:29, load average: 0.37, 0.26, 0.25 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20041104/e71dae76/attachment-0001.sig>


More information about the fedora-list mailing list