From 71589beab7cee9fe2f158189b5724276a59b8983 Mon Sep 17 00:00:00 2001 From: Thiago Perrotta Date: Sun, 23 Jun 2024 13:37:13 +0200 Subject: [PATCH] use 1password ssh-agent when available --- ssh/.ssh/config | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ssh/.ssh/config b/ssh/.ssh/config index 124ab518..93c1c9f7 100644 --- a/ssh/.ssh/config +++ b/ssh/.ssh/config @@ -11,6 +11,11 @@ Host * # default lifetime, as if by ssh-add(1). AddKeysToAgent yes + # Use 1Password SSH agent when available + # macOS only + # Linux: "~/.1password/agent.sock" + IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock" + # This is a macOS only option that looks for passwords for the keys # in the keychain. Ignore if it is an unknown option. # https://apple.stackexchange.com/q/48502/150911