aboutsummaryrefslogtreecommitdiff
path: root/bash/ssh-agent.profile
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2022-07-28 17:13:30 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2022-07-28 17:13:30 +0200
commit67896a891bec5064fc603792cf161e5e38dbac05 (patch)
tree1880f53a3b44d1f7db986ca9bbd5e668024b0faa /bash/ssh-agent.profile
parentc9ebf2cfc68adee13fcd720c534119e431062ced (diff)
downloaddotfiles-67896a891bec5064fc603792cf161e5e38dbac05.tar.gz
Add config options for ssh agent and bashboard
Diffstat (limited to 'bash/ssh-agent.profile')
-rw-r--r--bash/ssh-agent.profile8
1 files changed, 7 insertions, 1 deletions
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