title: How to use public key in azure devops pipline copy files over SSH
body: <p>I'm trying to use Azure DevOps to deploy a Laravel application to a Bluehost website.</p>
  <p>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.</p>
  <p>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).</p>
  <blockquote>
  <p>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..</p>
  </blockquote>
  <p>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).</p>
  <p>I see that there is an &quot;Install SSH Key&quot; task I can use; however, I don't understand how to use the downloaded key in the &quot;Copy over SSH&quot; task.</p>
  <p>How can I use a public key in an Azure DevOps pipeline Copy over SSH task?</p>