How does scp and ssh know to use /opt/atlassian/pipelines/agent/ssh/id_rsa?
~/.ssh/id_rsa expand to /root/.ssh/id_rsa and the file isn't there but ssh and scp commands use /opt/atlassian/pipelines/agent/ssh/id_rsa
Is there an environmental variable?