do not write sessions ssh-agent to default-agent

This commit is contained in:
Jakobus Schürz 2020-09-24 10:35:08 +02:00
parent c4028cb44a
commit 2e11b78960

View file

@ -146,8 +146,8 @@ export -f reachable-default
[ -z "${SSH_AGENTS_DEFAULT_DIR+x}" ] || mkdir -p "${SSH_AGENTS_DEFAULT_DIR}" [ -z "${SSH_AGENTS_DEFAULT_DIR+x}" ] || mkdir -p "${SSH_AGENTS_DEFAULT_DIR}"
cat << EOF > "${SSH_AGENTS_DEFAULT_DIR}/agent-default-$(hostname)" #cat << EOF > "${SSH_AGENTS_DEFAULT_DIR}/agent-default-$(hostname)"
SSH_AUTH_SOCK=${SSH_AUTH_SOCK}; export SSH_AUTH_SOCK; #SSH_AUTH_SOCK=${SSH_AUTH_SOCK}; export SSH_AUTH_SOCK;
SSH_AGENT_PID=${SSH_AGENT_PID}; export SSH_AGENT_PID; #SSH_AGENT_PID=${SSH_AGENT_PID}; export SSH_AGENT_PID;
loginfo Agent pid ${SSH_AGENT_PID}; #loginfo Agent pid ${SSH_AGENT_PID};
EOF #EOF