From 00a264c7a011e0a695690a0da00ac29d0833e96d Mon Sep 17 00:00:00 2001 From: Bohan Yang Date: Tue, 10 Nov 2020 13:48:42 +0000 Subject: [PATCH] Minor update --- debi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debi.sh b/debi.sh index 7407dd0..d063cf0 100755 --- a/debi.sh +++ b/debi.sh @@ -344,7 +344,7 @@ EOF backup /etc/ssh/sshd_config run_later 'sed -ri "s/^#?PermitRootLogin .+/PermitRootLogin yes/" /etc/ssh/sshd_config' else - run_later "mkdir -m 0700 -p ~root/.ssh && busybox wget -O - \"$authorized_keys_url\" | tee -a ~root/.ssh/authorized_keys" + run_later "mkdir -m 0700 -p ~root/.ssh && busybox wget -O - \"$authorized_keys_url\" >> ~root/.ssh/authorized_keys" fi $save_preseed << 'EOF'