[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: scp oder sftp in chroot



Am Samstag, den 02.12.2006, 12:39 +0100 schrieb Thomas Winter:
> Hi,
> 

Hallo,

> was ist das aktuelle Tool um sftp oder scp im chroot für einen User auf einen 
> Server einzurichten? (auf Debian Sarge)
> 
> ftp oder Samba-Share durch OpenVPN scheidet in diesem Fall aus, ftp ist nicht 
> akzeptabel, WebDAV geht auch nicht, also bleibt mir nur ein Zugang über ssh.
> 
> Der Benutzer soll aber keine shell haben und sich auch nicht auf dem Server 
> umschauen können.
> 
> Gruß
> Thomas
> 


scponly hast Du schon genannt bekommen. Eine Alternative ist

apt-cache show rssh
Description: Restricted shell allowing only scp, sftp, cvs, rsync and/or
rdist
 rssh is a restricted shell to be used as a substitute of the login
 shell to allow users to perform only scp/sftp/cvs/rsync,rdist
 operations.
 .
 The security implications are high, so the home directories have
 to be set following the instructions provided.

Grüße
Klaus



Reply to: