I am aiming to copy a folder generated after tests passed to a server using SCP.
Got it set up with an SSH key and things coming from envrionment variables.
My config file looks like this:
My build never finishes running however because it says:
The authenticity of host '[ip]:port([ip]:port)' can't be established. ED25519 key fingerprint is [fingerprint]. Are you sure you want to continue connecting (yes/no)?
On the forums I found the suggestion to add to known hosts, so I tries adding the following line but that didn’t help either.
echo '$SSH_SERVER ssh-rsa [fingerprint taken from above]' >> ~/.ssh/known_hosts
Any ideas how I can get this to work?