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:
parent
d28bc64cbf
commit
ff06c1478a
2 changed files with 8 additions and 2 deletions
|
@ -37,6 +37,8 @@
|
||||||
- create:
|
- create:
|
||||||
~/.ssh/keys/:
|
~/.ssh/keys/:
|
||||||
mode: 0700
|
mode: 0700
|
||||||
|
~/.ssh/known_hosts.d:
|
||||||
|
mode: 0700
|
||||||
|
|
||||||
- shell:
|
- shell:
|
||||||
-
|
-
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue