From 99e875ebfc66a47bbd1c8dd66410687069325daf Mon Sep 17 00:00:00 2001 From: James Hunt Date: Sun, 6 Nov 2016 01:30:55 -0400 Subject: [PATCH] Fix permissions on ~/.ssh/authorized_keys --- jobs/jumpbox/templates/bin/watcher | 1 + 1 file changed, 1 insertion(+) diff --git a/jobs/jumpbox/templates/bin/watcher b/jobs/jumpbox/templates/bin/watcher index b2a65a6..5c6ae2f 100644 --- a/jobs/jumpbox/templates/bin/watcher +++ b/jobs/jumpbox/templates/bin/watcher @@ -72,6 +72,7 @@ provision() { echo "$key" >> ${home}/.ssh/authorized_keys fi done + chmod 0600 ${home}/.ssh/authorized_keys fi if [[ -n "${repo}" ]]; then