aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2023-05-17 14:07:52 +0200
committerPatrick Spek <p.spek@tyil.nl>2023-05-17 14:07:52 +0200
commita47e7c40bb440d91265bbb571584d18b5412e2be (patch)
treee702972d3cfec90a880d0dbe31956658d48bf461
parentc909f1f393054eae1af662683e3fdc6cd7333330 (diff)
Update config to use Host *
This should ensure that my personal key isn't tried before any host-specific key for work.
-rw-r--r--.ssh/config4
1 files changed, 3 insertions, 1 deletions
diff --git a/.ssh/config b/.ssh/config
index 4fdbae5..436ed4c 100644
--- a/.ssh/config
+++ b/.ssh/config
@@ -1,7 +1,9 @@
-IdentityFile ~/.ssh/id.d/%u@%L-ed25519
UserKnownHostsFile ~/.ssh/known_hosts
Include config.d/*
+Host *
+ IdentityFile ~/.ssh/id.d/%u@%L-ed25519
+
Host home.tyil.nl
Hostname 10.57.100.7
ForwardAgent yes