From dfa16c1208714732bb884a4a15cd30867aefab64 Mon Sep 17 00:00:00 2001 From: Philip Henning Date: Mon, 25 Nov 2024 10:40:19 +0100 Subject: [PATCH] fix check for creating ssh key --- scripts/init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/init.sh b/scripts/init.sh index 1d0994e..69490a9 100755 --- a/scripts/init.sh +++ b/scripts/init.sh @@ -43,7 +43,7 @@ if [[ ! -f ./.env ]]; then fi # Check if ssh key already exists, otherwise generate one -if [[ ! -f ./data/restic/ssh/ ]]; then +if [[ ! -f ./data/restic/ssh/id_ed25519 ]]; then [[ ! -d ./data/restic/ssh/ ]] && mkdir -p ./data/restic/ssh/ ssh-keygen -t ed25519 -C "sso.base23.de" -f ./data/restic/ssh/id_ed25519 fi