write correct variable
This commit is contained in:
parent
495e22d0d9
commit
6fe65702e6
1 changed files with 3 additions and 3 deletions
|
@ -136,9 +136,9 @@ export -f reachable-default
|
||||||
|
|
||||||
|
|
||||||
cat << EOF > ~/.ssh/agents/agent-default-$(hostname)
|
cat << EOF > ~/.ssh/agents/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;
|
||||||
echo Agent pid \${SSH_AGENT_PID};
|
echo Agent pid ${SSH_AGENT_PID};
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
[ -z "${SSH_ADD_DEFAULT_OPTIONS+x}" ] && { SSH_ADD_DEFAULT_OPTIONS="-t 7200"; export SSH_ADD_DEFAULT_OPTIONS; }
|
[ -z "${SSH_ADD_DEFAULT_OPTIONS+x}" ] && { SSH_ADD_DEFAULT_OPTIONS="-t 7200"; export SSH_ADD_DEFAULT_OPTIONS; }
|
||||||
|
|
Loading…
Reference in a new issue