projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WindowMaker installe OK
[hvlinux.git]
/
stage3
/
cis-openssh
diff --git
a/stage3/cis-openssh
b/stage3/cis-openssh
index
078ea38
..
1e2d5e2
100755
(executable)
--- a/
stage3/cis-openssh
+++ b/
stage3/cis-openssh
@@
-40,8
+40,8
@@
sed -i -e "s!^#PermitRootLogin.*!PermitRootLogin no!g" /etc/ssh/sshd_config
# Enabling X11 forwarding
sed -i -e "s!^#X11Forwarding.*!X11Forwarding yes!g" /etc/ssh/sshd_config
# Enabling X11 forwarding
sed -i -e "s!^#X11Forwarding.*!X11Forwarding yes!g" /etc/ssh/sshd_config
-# Setting MaxAuthTries to
1
-sed -i -e "s!^
#MaxAuthTries.*!MaxAuthTries 1
!g" /etc/ssh/sshd_config
+# Setting MaxAuthTries to
2
+sed -i -e "s!^
[#]*MaxAuthTries.*!MaxAuthTries 3
!g" /etc/ssh/sshd_config
install -v -m740 ${SCRDIR}/bootscripts/sshd /etc/rc.d/init.d
bootscript_add_rc3 sshd 25 70
install -v -m740 ${SCRDIR}/bootscripts/sshd /etc/rc.d/init.d
bootscript_add_rc3 sshd 25 70