From 89a2f6d6cabf0e6428e8acb71b1bcaafe2cd2ccc Mon Sep 17 00:00:00 2001 From: James Patrick Date: Tue, 16 Jul 2024 11:47:01 -0400 Subject: [PATCH] Use Pub key with IdentifyFile This is to allow the correct usage of ssh keys from my password vault where there are multiple keys that _could_ work. --- ssh/config | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ssh/config b/ssh/config index 880bb6b..f1eeae6 100644 --- a/ssh/config +++ b/ssh/config @@ -1,13 +1,14 @@ ServerAliveInterval 300 ServerAliveCountMax 3 +host github.com + IdentityFile ~/.ssh/github.com.pub + IdentitiesOnly yes Host git.jpatrick.io Port 222 IdentityFile ~/.ssh/git.jpatrick.io Host jpatrick.io IdentityFile ~/.ssh/jpatrick.io -Host github.com - IdentityFile ~/.ssh/github.com Host *.greenfiling.com ForwardAgent yes Host *