mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2024-11-23 16:03:46 +01:00
8 lines
164 B
Text
8 lines
164 B
Text
|
#!/bin/sh
|
||
|
|
||
|
# Start the SSH agent if it isn't already.
|
||
|
if [ -z "$SSH_AGENT_PID" ]; then
|
||
|
eval $(ssh-agent) > /dev/null
|
||
|
echo "$SSH_AGENT_PID" > /tmp/ssh-agent-id
|
||
|
fi
|