This is a script for setting up my laptop. It works in conjunction with my dotfiles repo
This is intended to be used on a brand new machine so you'll have to curl the project and unzip it.
$ curl -o ~/settop-master.zip -Lk https://github.com/ryanhedges/settop/archive/master.zip
$ unzip -j ~/settop-master.zip -d ~/settop
$ rm ~/settop-master.zip
-
Set up ssh key for github. The script is based on the directions found on github's documentation.
$ source ~/settop/settop_ssh.sh
This will:
- Generates a ssh key
- Creates the
.ssh/config
file - Adds key to a ssh-agent using
--apple-use-keychain
for passphrase - Copy contents of
id_ed25519.pub
to your clipboard for pasting into GitHubs account settings.
If there is anything in the ssh directory, it will NOT generate a key. You may want to copy from your keys over from an existing computer if possible.
- Run the settop script
$ sh ~/settop/settop.sh
Read the manual setup guide to run through the checklist