2018-05-28 23:09:05 +00:00
|
|
|
#!/bin/bash
|
2018-05-28 23:14:54 +00:00
|
|
|
# change default umask so that I can actually use my ssh keys
|
|
|
|
umask 077
|
|
|
|
|
2018-05-28 23:09:05 +00:00
|
|
|
# prompt for decrypt and extract secrets
|
|
|
|
gpg --output ~/.ssh.tar --decrypt /colove/setup/secrets/ssh-secrets.tar.gpg
|
|
|
|
7z x ~/.ssh.tar
|
|
|
|
|
|
|
|
# start up the ssh agent.
|
|
|
|
eval `ssh-agent`
|