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 \
|
||||
wget curl host \
|
||||
unzip rsync \
|
||||
bash-completion git whois \
|
||||
bash-completion git whois rsyslog \
|
||||
fail2ban iptables haveged gnupg vnstat lrzsz jq \
|
||||
unattended-upgrades apt-listchanges \
|
||||
htop iftop p7zip-full
|
||||
@ -198,6 +198,10 @@ PasswordAuthentication no
|
||||
EOF
|
||||
cat > /etc/ssh/sshd_config.d/hide_debian_banner.conf << EOF
|
||||
DebianBanner no
|
||||
EOF
|
||||
cat > /etc/ssh/sshd_config.d/enable_rsa_keys.conf << EOF
|
||||
HostKeyAlgorithms +ssh-rsa
|
||||
PubkeyAcceptedKeyTypes +ssh-rsa
|
||||
EOF
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user