Console Output
[ssh-agent] Using credentials git.dnet (User for CI/CD)
[ssh-agent] Looking for ssh-agent implementation...
[ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine)
$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-iue0mqy3E6My/agent.12455
SSH_AGENT_PID=12457
Running ssh-add (command line suppressed)
Identity added: /var/lib/jenkins/workspace/dnet-hadoop_CD_BETA@tmp/private_key_2557662083398353405.key (git.dnet)
[ssh-agent] Started.
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 12457 killed;
[ssh-agent] Stopped.