update set-up-system.sh

This commit is contained in:
2026-07-18 01:23:32 +01:00
parent 9b1a3e2b08
commit f79a2d9804
+11
View File
@@ -64,6 +64,17 @@ sudo hostnamectl hostname $hostname
sudo hostnamectl
banner bottom "changed hostname"
# configure sshd
banner top "configuring sshd"
sudo tee /etc/ssh/sshd_config << 'EOF'
Include /etc/ssh/sshd_config.d/*.conf
PermitRootLogin no
PasswordAuthentication no
KbdInteractiveAuthentication no
EOF
sudo systemctl reload sshd
banner bottom "configuring sshd"
# configure dnf
banner top "configuring dnf"
sudo tee /etc/dnf/dnf.conf << 'EOF'