diff --git a/debian.sh b/debian.sh index 42c8abc..6c8f43a 100644 --- a/debian.sh +++ b/debian.sh @@ -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