From 8ced51cf5b78130af63b30a65e85b864032a898e Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Wed, 3 Nov 2021 20:18:05 +0100 Subject: [PATCH] Set empty passphrase for server ssh keys. --- bullseye/setup_scripts/setup_play.sh | 1 - buster/setup_scripts/prepare_to_meet_server.sh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/bullseye/setup_scripts/setup_play.sh b/bullseye/setup_scripts/setup_play.sh index c28bbd3..a29b2f6 100755 --- a/bullseye/setup_scripts/setup_play.sh +++ b/bullseye/setup_scripts/setup_play.sh @@ -1,6 +1,5 @@ #!/bin/sh set -e -set -x if [ "$#" -lt 1 ]; then echo "Need public key ID and optionally old server IP." diff --git a/buster/setup_scripts/prepare_to_meet_server.sh b/buster/setup_scripts/prepare_to_meet_server.sh index 569bf74..df2aa41 100755 --- a/buster/setup_scripts/prepare_to_meet_server.sh +++ b/buster/setup_scripts/prepare_to_meet_server.sh @@ -10,7 +10,7 @@ target="$1" # We need a public key to copy over, so generate it if not found. if [ ! -f ~/.ssh/id_rsa.pub ]; then - ssh-keygen + ssh-keygen -N "" fi # Add target to ~/.ssh/known_hosts so we don't get -- 2.30.2