Add more scripts

This commit is contained in:
Lauri Räsänen 2025-04-27 16:38:54 +03:00
parent 03ab6ee918
commit ddb6d7dcd1
10 changed files with 14 additions and 1 deletions

10
sshd.sh
View file

@ -1,10 +0,0 @@
#!/bin/bash
set -euo pipefail
# TODO: just 'sed' the usual hardenings
sudo vim /etc/ssh/sshd_config
if ! sudo sshd -t; then
sudo systemctl restart sshd
fi