Hi there,
I followed this guideline to create a new SSH key for my repo:
https://confluence.atlassian.com/bitbucket/use-ssh-keys-in-bitbucket-pipelines-847452940.html
I created it in the repo settings (also added the server to the known hosts) and added the public key on the remote server.
Now, I want to access my remote server in a Bitbucket Pipeline via:
ssh -T user@XX.XX.XX.XX rm testfile
But I stuck on that:
<span>Permission denied, please try again.<br></span><span>Permission denied (publickey,password).</span><span>Permission denied, please try again.<br></span>
Where is the fault that I cannot access my remote server to execute the command?
Thanks a lot