mirror of
https://github.com/shokinn/.files.git
synced 2025-01-18 05:12:26 +00:00
Use Strongbox agent only when the shell is not opened by ssh
This commit is contained in:
parent
a74a046be2
commit
9a1bf642a2
|
@ -10,6 +10,6 @@ Include config.d/*/*.config
|
|||
{%@@ if profile == 'susanoo.local' or profile == 'WVDEWOBMC001307' @@%}#
|
||||
# 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"
|
||||
{%@@ endif @@%}
|
||||
|
|
Loading…
Reference in a new issue