From 67896a891bec5064fc603792cf161e5e38dbac05 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Thu, 28 Jul 2022 17:13:30 +0200 Subject: Add config options for ssh agent and bashboard --- bash/ssh-agent.profile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'bash/ssh-agent.profile') diff --git a/bash/ssh-agent.profile b/bash/ssh-agent.profile index 9912bbf..efa3724 100644 --- a/bash/ssh-agent.profile +++ b/bash/ssh-agent.profile @@ -1,3 +1,9 @@ # vi: ft=sh -[ -z $SSH_AUTH_SOCK ] && eval `ssh-agent` +#SA_SSH_AGENT_STATIC='no' +#SA_SSH_SOCKET="/var/run/user/$UID/ssh-agent.sock" +#SA_SSH_PIDFILE="/var/run/user/$UID/ssh-agent.pid" + +if [ ! "$SA_SSH_AGENT_STATIC"="yes" ]; then + [ -z $SSH_AUTH_SOCK ] && eval `ssh-agent` +fi -- cgit v1.2.3