Skip to content

Commit c87cfcf

Browse files
committed
Update sshd override URL
Signed-off-by: Tommy <[email protected]>
1 parent a1c0756 commit c87cfcf

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Fedora-Server-40.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Script
6363
sudo chmod 644 /etc/ssh/ssh_config.d/10-custom.conf
6464
sudo mkdir -p /etc/systemd/system/sshd.service.d/
6565
sudo 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
6767
sudo chmod 644 /etc/systemd/system/sshd.service.d/override.conf
6868
sudo systemctl daemon-reload
6969
sudo systemctl restart sshd

Proxmox-8.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/ssh/sshd_config.d/10-cu
3939
curl -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
4040
sudo mkdir -p /etc/systemd/system/sshd.service.d/
4141
sudo 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
4343
systemctl daemon-reload
4444
systemctl restart sshd
4545

RHEL-9.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Script
5858
sudo chmod 644 /etc/ssh/ssh_config.d/10-custom.conf
5959
sudo mkdir -p /etc/systemd/system/sshd.service.d/
6060
sudo 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
6262
sudo systemctl daemon-reload
6363
sudo systemctl restart sshd
6464

Ubuntu-24.04-Server.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Script
5757
sudo chmod 644 /etc/ssh/ssh_config.d/10-custom.conf
5858
sudo mkdir -p /etc/systemd/system/ssh.service.d/
5959
sudo 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
6161
sudo chmod 644 /etc/systemd/system/ssh.service.d/override.conf
6262
sudo systemctl daemon-reload
6363
sudo systemctl restart ssh

0 commit comments

Comments
 (0)