Update debian.sh
This commit is contained in:
parent
d03d1aa6cc
commit
bd45cadc96
@ -131,7 +131,7 @@ function install_packages() {
|
|||||||
net-tools dnsutils mtr-tiny traceroute \
|
net-tools dnsutils mtr-tiny traceroute \
|
||||||
wget curl host \
|
wget curl host \
|
||||||
unzip rsync \
|
unzip rsync \
|
||||||
bash-completion git whois \
|
bash-completion git whois rsyslog \
|
||||||
fail2ban iptables haveged gnupg vnstat lrzsz jq \
|
fail2ban iptables haveged gnupg vnstat lrzsz jq \
|
||||||
unattended-upgrades apt-listchanges \
|
unattended-upgrades apt-listchanges \
|
||||||
htop iftop p7zip-full
|
htop iftop p7zip-full
|
||||||
@ -198,6 +198,10 @@ PasswordAuthentication no
|
|||||||
EOF
|
EOF
|
||||||
cat > /etc/ssh/sshd_config.d/hide_debian_banner.conf << EOF
|
cat > /etc/ssh/sshd_config.d/hide_debian_banner.conf << EOF
|
||||||
DebianBanner no
|
DebianBanner no
|
||||||
|
EOF
|
||||||
|
cat > /etc/ssh/sshd_config.d/enable_rsa_keys.conf << EOF
|
||||||
|
HostKeyAlgorithms +ssh-rsa
|
||||||
|
PubkeyAcceptedKeyTypes +ssh-rsa
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user