Add more scripts
This commit is contained in:
parent
03ab6ee918
commit
ddb6d7dcd1
10 changed files with 14 additions and 1 deletions
10
sshd.sh
10
sshd.sh
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue