From f4599dde71d464f788acc1395ae827e3166a0a84 Mon Sep 17 00:00:00 2001 From: Tristan Jahnke Date: Wed, 9 Oct 2024 15:28:07 -0500 Subject: [PATCH] fix(ssh): fix config file for ssh files (#46) --- ssh/config | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/ssh/config b/ssh/config index fb6e8c7..8b6b10f 100644 --- a/ssh/config +++ b/ssh/config @@ -1,7 +1,14 @@ -Host github.com - HostName github.com - IdentityFile ~/.ssh/personal-github +# Personal GitHub account +Host github.com-personal + HostName github.com + AddKeysToAgent yes + User git + IdentityFile ~/.ssh/proton + +# Work GitHub account +Host github.com-work + HostName github.com + AddKeysToAgent yes + User git + IdentityFile ~/.ssh/ -Host git@gitlab.com - HostName git@gitlab.com - IdentityFile ~/.ssh/wendys