From 9ee405e26a2619b2f382611e24070dd1b9b32a8f Mon Sep 17 00:00:00 2001 From: Andrejus Date: Wed, 19 Jun 2024 11:19:18 +0100 Subject: [PATCH] fix: codespaces ssh --- script/install.d/01-ssh.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/script/install.d/01-ssh.sh b/script/install.d/01-ssh.sh index 49a3d1e..911fe29 100644 --- a/script/install.d/01-ssh.sh +++ b/script/install.d/01-ssh.sh @@ -5,6 +5,11 @@ # Print SSH key. # +# skip if CODESPACES is set +if [ -n "$CODESPACES" ]; then + export SKIP_SSH_CONFIG=1 +fi + # skip if SKIP_SSH_CONFIG is set if [ -z "$SKIP_SSH_CONFIG" ]; then ssh_method="ed25519"