1
0
Fork 0
mirror of https://github.com/kastdeur/dotfiles.git synced 2024-12-22 09:13:33 +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: - create:
~/.ssh/keys/: ~/.ssh/keys/:
mode: 0700 mode: 0700
~/.ssh/known_hosts.d:
mode: 0700
- shell: - shell:
- -

View file

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