📝 add press any key to github ssh setup

This commit is contained in:
DannyDannyDanny 2023-11-11 20:33:58 +01:00
parent a4d791a92c
commit e3953a9e49

View file

@ -102,6 +102,9 @@ echo 'add ssh to key to github'
echo 'cat ~/.ssh/id_*_github.pub' echo 'cat ~/.ssh/id_*_github.pub'
echo 'https://github.com/settings/ssh/new' echo 'https://github.com/settings/ssh/new'
# pause because user needs to add key before we continue
read -rsp $'Press any key to continue...\n' -n1 key
echo 'adding key to ssh-agent' echo 'adding key to ssh-agent'
eval `ssh-agent -s` # not just ssh-agent -s eval `ssh-agent -s` # not just ssh-agent -s
ssh-add ~/.ssh/id_*_github ssh-add ~/.ssh/id_*_github