colove/setup/setup.sh

10 lines
261 B
Bash
Raw Normal View History

#!/bin/bash
2018-05-28 23:14:54 +00:00
# change default umask so that I can actually use my ssh keys
umask 077
# 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`