From 497508848af623d2fdfd201b63198092646f4f69 Mon Sep 17 00:00:00 2001 From: jowj Date: Mon, 28 May 2018 18:14:54 -0500 Subject: [PATCH] Update operating order of script. --- setup/setup.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup/setup.sh b/setup/setup.sh index 37df378..af4644c 100644 --- a/setup/setup.sh +++ b/setup/setup.sh @@ -1,10 +1,11 @@ #!/bin/bash +# 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 mkdir .ssh 7z x ~/.ssh.tar -# change default umask so that I can actually use my ssh keys -umask 077 # start up the ssh agent. eval `ssh-agent` \ No newline at end of file