From 545fc53c4b9deb97463a8c53479122ca5d6b6391 Mon Sep 17 00:00:00 2001 From: Julien Moutinho Date: Tue, 14 Oct 2014 07:46:53 +0200 Subject: [PATCH] Ajout : SFTP. --- etc/ssh/sshd_config.m4 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- 2.20.1