This script will add the public key of the specified github user to the currently logged in unix/linux user's authorized_keys file.
Tested on:
- Ubuntu
- macOS
Usage:
./key-install.sh johnsmith
where "johnsmith" is a Github username...
Or run without argument to specify Github user interactively.