From 42e9a03358460f5ae03a5813a3460727e17155c1 Mon Sep 17 00:00:00 2001 From: Kayou Date: Sat, 24 Aug 2024 12:24:07 +0200 Subject: [PATCH] oups --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index d31b766..ff62b1d 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -34,7 +34,7 @@ create_ssh_config() { mkdir -p "$ssh_dir" touch "$ssh_dir/authorized_keys" - echo "$ssh_opts $public_key" >> "$ssh_dir/authorized_keys" + echo "$ssh_opts $public_key" > "$ssh_dir/authorized_keys" chown -R "$ssh_user:$ssh_user" "$ssh_dir" chmod -R u=rwX,go=--- "$ssh_dir"