mirror of
https://gitlab.com/futile/thingy.git
synced 2026-07-21 08:10:07 +00:00
update set-up-system.sh
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user