1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-11-26 03:01:34 -05:00

Ubuntu calls 'sshd' 'ssh' now

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-05-04 17:09:07 -07:00
parent cc8703dbff
commit f2e7ec45dd
Signed by: Tomster
GPG Key ID: 555C902A34EC968F

View File

@ -56,7 +56,7 @@ sudo chmod 644 /etc/ssh/ssh_config.d/10-custom.conf
sudo mkdir -p /etc/systemd/system/ssh.service.d sudo mkdir -p /etc/systemd/system/ssh.service.d
unpriv curl https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/systemd/system/sshd.service.d/local.conf | sudo tee /etc/systemd/system/ssh.service.d/override.conf unpriv curl https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/systemd/system/sshd.service.d/local.conf | sudo tee /etc/systemd/system/ssh.service.d/override.conf
sudo systemctl daemon-reload sudo systemctl daemon-reload
sudo systemctl restart sshd sudo systemctl restart ssh
# Kernel hardening # Kernel hardening
unpriv curl https://raw.githubusercontent.com/Kicksecure/security-misc/master/etc/modprobe.d/30_security-misc.conf | sudo tee /etc/modprobe.d/30_security-misc.conf unpriv curl https://raw.githubusercontent.com/Kicksecure/security-misc/master/etc/modprobe.d/30_security-misc.conf | sudo tee /etc/modprobe.d/30_security-misc.conf