I'm trying to use Azure DevOps to deploy a Laravel application to a Bluehost website.
The idea is that when I commit changes to my repo, that a pipeline will trigger and will run composer, then deploy to the website.
The issue I am having, is that authentication with Bluehost fails, even after I've authorized the SSH key(I may only authorize public keys).
Error: Failed to connect to remote machine. Verify the SSH service connection details. Failed to connect to remote machine. Verify the SSH service connection details. Error: All configured authentication methods failed..
My theory, is that DevOps is generating a new public key to log into BlueHost, which fails to authenticate(as it's not the authorized public key).
I see that there is an "Install SSH Key" task I can use; however, I don't understand how to use the downloaded key in the "Copy over SSH" task.
How can I use a public key in an Azure DevOps pipeline Copy over SSH task?