1
0
Fork 0
mirror of https://github.com/kastdeur/dotfiles.git synced 2024-12-30 12:43:32 +01:00

[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

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