aboutsummaryrefslogtreecommitdiff
path: root/bash/ssh-agent.profile
diff options
context:
space:
mode:
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