From b61a6d4543e4b7cf4abfe912a83db04c33a97670 Mon Sep 17 00:00:00 2001 From: idanoo Date: Tue, 11 Oct 2022 22:28:15 +1300 Subject: [PATCH] Update deploy script --- static/setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/setup.sh b/static/setup.sh index 459736b..725ae72 100644 --- a/static/setup.sh +++ b/static/setup.sh @@ -34,8 +34,8 @@ sudo chmod +x /usr/local/bin/check_keys /usr/local/bin/check_keys # Update SSHD to use it.. -sudo cat "AuthorizedKeysCommand /usr/local/bin/check_keys" >> /etc/ssh/sshd_config -sudo cat "AuthorizedKeysCommandUser nobody" >> /etc/ssh/sshd_config +sudo echo "AuthorizedKeysCommand /usr/local/bin/check_keys" >> /etc/ssh/sshd_config +sudo echo "AuthorizedKeysCommandUser nobody" >> /etc/ssh/sshd_config # Restart for good luck sudo systemctl restart {sshd,ssh}