[ssh] Auto chmod ssh/config to 600

This commit is contained in:
Eric Teunis de Boone 2021-11-25 15:14:59 +01:00
parent e76cbf5ddc
commit b553944b96
1 changed files with 4 additions and 0 deletions

View File

@ -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