From 77d64c41010656fed6c327bd7f174504d02b2247 Mon Sep 17 00:00:00 2001 From: "Casper V. Kristensen" Date: Tue, 26 Jul 2022 21:47:28 +0200 Subject: [PATCH] common: continue even with pre-existing ssh-key --- install/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/common.sh b/install/common.sh index 9dc1579..fb5a0f0 100755 --- a/install/common.sh +++ b/install/common.sh @@ -33,7 +33,7 @@ sudo apt install -y \ sudo sed -i 's/#Port 22/Port 222/' /etc/ssh/sshd_config sudo systemctl restart sshd -ssh-keygen -t ed25519 +ssh-keygen -t ed25519 || true ln -sr authorized_keys ~/.ssh/authorized_keys ln -sr ssh_config ~/.ssh/config