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