Use kernel sandbox for ssh
This commit is contained in:
parent
582cbe99d9
commit
7438e6ffc3
|
@ -88,6 +88,8 @@ function configure_ssh {
|
|||
echo "KexAlgorithms $SSH_KEX" >> /etc/ssh/sshd_config
|
||||
fi
|
||||
sed -i "s|#KexAlgorithms $SSH_KEX|KexAlgorithms $SSH_KEX|g" /etc/ssh/sshd_config
|
||||
sed -i 's|#UsePrivilegeSeparation .*|UsePrivilegeSeparation sandbox|g' /etc/ssh/sshd_config
|
||||
sed -i 's|UsePrivilegeSeparation .*|UsePrivilegeSeparation sandbox|g' /etc/ssh/sshd_config
|
||||
|
||||
apt-get -yq install fail2ban vim-common
|
||||
|
||||
|
|
Loading…
Reference in New Issue