File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Script
6363sudo chmod 644 /etc/ssh/ssh_config.d/10-custom.conf
6464sudo mkdir -p /etc/systemd/system/sshd.service.d/
6565sudo chmod 755 /etc/systemd/system/sshd.service.d/
66- unpriv curl -s https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/systemd/system/sshd.service.d/override.conf | sudo tee /etc/systemd/system/sshd.service.d/override.conf > /dev/null
66+ unpriv curl -s https://raw.githubusercontent.com/GrapheneOS/infrastructure/refs/heads/ main/etc /systemd/system/sshd.service.d/override.conf | sudo tee /etc/systemd/system/sshd.service.d/override.conf > /dev/null
6767sudo chmod 644 /etc/systemd/system/sshd.service.d/override.conf
6868sudo systemctl daemon-reload
6969sudo systemctl restart sshd
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/ssh/sshd_config.d/10-cu
3939curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/ssh/ssh_config.d/10-custom.conf | tee /etc/ssh/ssh_config.d/10-custom.conf > /dev/null
4040sudo mkdir -p /etc/systemd/system/sshd.service.d/
4141sudo chmod 755 /etc/systemd/system/sshd.service.d/
42- curl -s https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/systemd/system/sshd.service.d/override.conf | tee /etc/systemd/system/ssh.service.d/override.conf > /dev/null
42+ curl -s https://raw.githubusercontent.com/GrapheneOS/infrastructure/refs/heads/ main/etc /systemd/system/sshd.service.d/override.conf | tee /etc/systemd/system/ssh.service.d/override.conf > /dev/null
4343systemctl daemon-reload
4444systemctl restart sshd
4545
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Script
5858sudo chmod 644 /etc/ssh/ssh_config.d/10-custom.conf
5959sudo mkdir -p /etc/systemd/system/sshd.service.d/
6060sudo chmod 755 /etc/systemd/system/sshd.service.d/
61- unpriv curl -s https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/systemd/system/sshd.service.d/override.conf | sudo tee /etc/systemd/system/sshd.service.d/override.conf > /dev/null
61+ unpriv curl -s https://raw.githubusercontent.com/GrapheneOS/infrastructure/refs/heads/ main/etc /systemd/system/sshd.service.d/override.conf | sudo tee /etc/systemd/system/sshd.service.d/override.conf > /dev/null
6262sudo systemctl daemon-reload
6363sudo systemctl restart sshd
6464
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Script
5757sudo chmod 644 /etc/ssh/ssh_config.d/10-custom.conf
5858sudo mkdir -p /etc/systemd/system/ssh.service.d/
5959sudo chmod 755 /etc/systemd/system/ssh.service.d/
60- unpriv curl -s https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/systemd/system/sshd.service.d/override.conf | sudo tee /etc/systemd/system/ssh.service.d/override.conf > /dev/null
60+ unpriv curl -s https://raw.githubusercontent.com/GrapheneOS/infrastructure/refs/heads/ main/etc /systemd/system/sshd.service.d/override.conf | sudo tee /etc/systemd/system/ssh.service.d/override.conf > /dev/null
6161sudo chmod 644 /etc/systemd/system/ssh.service.d/override.conf
6262sudo systemctl daemon-reload
6363sudo systemctl restart ssh
You can’t perform that action at this time.
0 commit comments