X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=etc%2Fssh%2Fsshd_config.m4;fp=etc%2Fssh%2Fsshd_config.m4;h=898dd84a0f0081acdb8db7085f8bf248dbfe5773;hp=572c6ad487ece1a0752329aa140edfa65a3de710;hb=545fc53c4b9deb97463a8c53479122ca5d6b6391;hpb=b3551fb8c268a2de43e92c19f81400a490fb42ba diff --git a/etc/ssh/sshd_config.m4 b/etc/ssh/sshd_config.m4 index 572c6ad..898dd84 100644 --- a/etc/ssh/sshd_config.m4 +++ b/etc/ssh/sshd_config.m4 @@ -29,10 +29,16 @@ RSAAuthentication yes RhostsRSAAuthentication no ServerKeyBits 768 StrictModes yes -Subsystem sftp /usr/lib/openssh/sftp-server SyslogFacility AUTH TCPKeepAlive yes UsePAM yes UsePrivilegeSeparation yes X11DisplayOffset 10 X11Forwarding no + +Subsystem sftp internal-sftp +Match Group sftp + AllowTCPForwarding no + ChrootDirectory %h + ForceCommand internal-sftp + X11Forwarding no