From d710acdaf86d3df2ace9ae364f55bfb41bc044f2 Mon Sep 17 00:00:00 2001 From: funk-on-code <113871227+funk-on-code@users.noreply.github.com> Date: Wed, 7 Aug 2024 08:07:45 +1000 Subject: [PATCH] Fix erroneous 'tee' for sshd custom configuration. (#38) Generation of sshd_config.d doesn't. Instead, it makes /root/tee, because of a typo. Signed-off-by: funk-on-code <113871227+funk-on-code@users.noreply.github.com> --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 292f9c7..8c5ec6e 100644 --- a/install.sh +++ b/install.sh @@ -456,7 +456,7 @@ sed -i 's/nullok//g' /mnt/etc/pam.d/system-auth ## Arch annoyingly does not split openssh-server out so even desktop Arch will have the daemon. unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/ssh/ssh_config.d/10-custom.conf | tee /mnt/etc/ssh/ssh_config.d/10-custom.conf > /dev/null -unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/ssh/sshd_config.d/10-custom.conf | tee tee /mnt/etc/ssh/sshd_config.d/10-custom.conf > /dev/null +unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/ssh/sshd_config.d/10-custom.conf | tee /mnt/etc/ssh/sshd_config.d/10-custom.conf > /dev/null sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /mnt/etc/ssh/sshd_config.d/10-custom.conf mkdir -p /mnt/etc/systemd/system/sshd.service.d/ unpriv curl -s https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/systemd/system/sshd.service.d/local.conf | tee /mnt/etc/systemd/system/sshd.service.d/override.conf > /dev/null