mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-09 11:41:33 -05:00
Typo fix
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
f8f99d3b70
commit
0eb21271d8
@ -28,8 +28,8 @@ sudo ufw enable
|
||||
sudo ufw allow OpenSSH
|
||||
|
||||
# Harden SSH
|
||||
echo "GSSAPIAuthentication no
|
||||
echo "VerifyHostKeyDNS yes"" | sudo tee /etc/ssh/ssh_config.d/10-custom.conf
|
||||
echo 'GSSAPIAuthentication no
|
||||
VerifyHostKeyDNS yes' | sudo tee /etc/ssh/ssh_config.d/10-custom.conf
|
||||
sudo chmod 644 /etc/ssh/ssh_config.d/10-custom.conf
|
||||
sudo mkdir -p /etc/systemd/system/sshd.service.d
|
||||
sudo curl https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/systemd/system/sshd.service.d/local.conf -o /etc/systemd/system/sshd.service.d/local.conf
|
||||
|
Loading…
Reference in New Issue
Block a user