From 922c81742cea7348f97bd0441936fcaea2140873 Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Tue, 16 Apr 2024 11:33:05 -0400 Subject: [PATCH] Auto-set username on personal machiens --- configs/ssh/config | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configs/ssh/config b/configs/ssh/config index a95ffb1..9966b9f 100644 --- a/configs/ssh/config +++ b/configs/ssh/config @@ -17,6 +17,10 @@ Host github.com gist.github.com IdentityFile %d/.ssh/id_ed25519_sk_rk_yk20572395 # IdentityFile %d/.ssh/id_rsa +# Default to myself when accessing my own machines +Host ewpratten-* + User ewpratten + # Home network Host unifi HostName dreammachinepro.local