From 7ef9e3219717fed47969e3c1ef5656dad4eab516 Mon Sep 17 00:00:00 2001 From: Mari Date: Wed, 6 May 2020 12:03:39 -0400 Subject: [PATCH] Fix key generation in new-host.sh --- new-host.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/new-host.sh b/new-host.sh index ee799fd..e310afe 100644 --- a/new-host.sh +++ b/new-host.sh @@ -17,13 +17,13 @@ set -eux ./install.sh if [[ ! -f ~/.ssh/id_ed25519.pub ]]; then - ssh-keygen -f ~/.ssh/id_ed25519 + ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_ed25519 ssh-authorize-key ~/.ssh/id_ed25519.pub echo "*** New keypair generated. Please add the new public key to github/bitbucket authorized keys:" cat ~/.ssh/id_ed25519.pub - read -p "Press ENTER when done." + read -p "Press ENTER after adding this public key to github/bitbucket authorized keys." fi ORIGIN=$(git ls-remote --get-url origin)