1
0
Fork 0

Fix key generation in new-host.sh

main
Mari 4 years ago committed by GitHub
parent eb648d7259
commit 7ef9e32197
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      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)

Loading…
Cancel
Save