From: Christian Heller Date: Wed, 3 Nov 2021 19:18:05 +0000 (+0100) Subject: Set empty passphrase for server ssh keys. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/%7Broute%7D?a=commitdiff_plain;h=8ced51cf5b78130af63b30a65e85b864032a898e;p=config Set empty passphrase for server ssh keys. --- 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