📝 add press any key to github ssh setup
This commit is contained in:
parent
a4d791a92c
commit
e3953a9e49
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue