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:
parent
e76cbf5ddc
commit
b553944b96
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue