dépôts
/
lhc
/
ateliers.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modifications : etc/postfix/aliases.m4
[lhc/ateliers.git]
/
etc
/
ssh
/
sshd_config.m4
diff --git
a/etc/ssh/sshd_config.m4
b/etc/ssh/sshd_config.m4
index
e60e1b8
..
898dd84
100644
(file)
--- a/
etc/ssh/sshd_config.m4
+++ b/
etc/ssh/sshd_config.m4
@@
-11,12
+11,13
@@
IgnoreRhosts yes
IgnoreUserKnownHosts no
KerberosAuthentication no
KeyRegenerationInterval 3600
IgnoreUserKnownHosts no
KerberosAuthentication no
KeyRegenerationInterval 3600
-Port 22
-ListenAddress 127.0.0.1
-ListenAddress VM_IPV4
+#ListenAddress 127.0.0.1:22
+#ListenAddress 10.0.42.1:22
+#ListenAddress LOCAL_IPV4:22
+ListenAddress 0.0.0.0:22
LogLevel INFO
LoginGraceTime 120
LogLevel INFO
LoginGraceTime 120
-MaxAuthTries
1
+MaxAuthTries
5
PasswordAuthentication no
PermitEmptyPasswords no
PermitRootLogin yes
PasswordAuthentication no
PermitEmptyPasswords no
PermitRootLogin yes
@@
-28,10
+29,16
@@
RSAAuthentication yes
RhostsRSAAuthentication no
ServerKeyBits 768
StrictModes 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
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