On Fri, Mar 19, 2010 at 03:58:07PM +0100, Bambero wrote:
>
> Match User !admin
> ChrootDirectory /var/www/users/%u
> ForceCommand internal-sftp
> X11Forwarding no
> AllowTcpForwarding no
Match User *,!admin
ChrootDirectory /var/www/users/%u
ForceCommand in
I have a liitle problem.
I need a sshd configuration to chroot (internal sftp) every user
excluding admin (which should have a shell access).
So i made:
ChrootDirectory /var/www/users/%u
ForceCommand internal-sftp
X11Forwarding no
AllowTcpForwarding no
Match User admin
ChrootDirectory none
2 matches
Mail list logo