Use Strongbox agent only when the shell is not opened by ssh

This commit is contained in:
Philip Henning 2024-08-23 15:33:02 +02:00
parent a74a046be2
commit 9a1bf642a2

View file

@ -10,6 +10,6 @@ Include config.d/*/*.config
{%@@ if profile == 'susanoo.local' or profile == 'WVDEWOBMC001307' @@%}# {%@@ if profile == 'susanoo.local' or profile == 'WVDEWOBMC001307' @@%}#
# This have to be LAST # This have to be LAST
# #
Host * Match host * exec "[[ -z $SSH_CLIENT && -z $SSH_TTY ]]"
IdentityAgent "~/Library/Group Containers/group.strongbox.mac.mcguill/agent.sock" IdentityAgent "~/Library/Group Containers/group.strongbox.mac.mcguill/agent.sock"
{%@@ endif @@%} {%@@ endif @@%}