1
0
Fork 0
mirror of https://github.com/kastdeur/dotfiles.git synced 2024-11-17 17:03:32 +01:00

[git] enable known_hosts.d file checking

This commit is contained in:
Eric Teunis de Boone 2022-09-05 10:58:03 +02:00
parent d28bc64cbf
commit ff06c1478a
2 changed files with 8 additions and 2 deletions

View file

@ -37,6 +37,8 @@
- create:
~/.ssh/keys/:
mode: 0700
~/.ssh/known_hosts.d:
mode: 0700
- shell:
-

View file

@ -3,5 +3,9 @@ Include ~/.ssh/config.d/*
# Defaults
Host *
IdentitiesOnly yes
IdentityFile ~/.ssh/keys/%h
ForwardAgent no
ForwardX11 no
IdentitiesOnly yes
IdentityFile ~/.ssh/keys/%h
UserKnownHostsFile ~/.ssh/known_hosts ~/.ssh/known_hosts.d/%h ~/.ssh/known_hosts2
UpdateHostKeys ask