From a47e7c40bb440d91265bbb571584d18b5412e2be Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Wed, 17 May 2023 14:07:52 +0200 Subject: Update config to use Host * This should ensure that my personal key isn't tried before any host-specific key for work. --- .ssh/config | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.1