summaryrefslogtreecommitdiff
path: root/ssh
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2025-03-02 00:43:41 +0000
committerGrégoire Duchêne <gduchene@awhk.org>2025-03-02 00:43:41 +0000
commit06fb2ecf6b7eb258339dce6087563ff31d22e8d7 (patch)
tree424317044b849eedd6efa8ed69ac60205afa2fd0 /ssh
parent9e6ebf2633bebcf47a5061579fc369a24e2105b5 (diff)
ssh: Include more configuration files if present
Diffstat (limited to 'ssh')
-rw-r--r--ssh/.gitignore3
-rw-r--r--ssh/config4
2 files changed, 7 insertions, 0 deletions
diff --git a/ssh/.gitignore b/ssh/.gitignore
new file mode 100644
index 0000000..676b8f2
--- /dev/null
+++ b/ssh/.gitignore
@@ -0,0 +1,3 @@
+authorized_keys
+id_*
+known_hosts
diff --git a/ssh/config b/ssh/config
index 936d209..fb44680 100644
--- a/ssh/config
+++ b/ssh/config
@@ -1,5 +1,9 @@
# -*- mode: conf-space -*-
+Include ../dotfiles-${UNAME}/ssh/config
+Include ../dotfiles-${DOMAIN}/ssh/config
+Include ../dotfiles-${HOST_SHORT}/ssh/config
+
Host *
VerifyHostKeyDNS yes