From b553944b9601e87ac701cb7c328e368c46378441 Mon Sep 17 00:00:00 2001 From: Eric Teunis de Boone Date: Thu, 25 Nov 2021 15:14:59 +0100 Subject: [PATCH] [ssh] Auto chmod ssh/config to 600 --- install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install.sh b/install.sh index e27aea9..070ab92 100755 --- a/install.sh +++ b/install.sh @@ -13,3 +13,7 @@ git pull || echo "Pulling from remote failed" git submodule update --init --recursive "${DOTBOT_DIR}" "${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}" + + +# Make sure ssh/config is only read/writable for owner +chmod 600 ssh/config