title: ##[error]Unhandled: handle is not a Buffer CopyFilesOverSSH in Azure DevOps build pipeline
body: <p>We are trying to deploy file to remote server using CopyFilesOverSSH service <a href="https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/deploy/copy-files-over-ssh?view=azure-devops" rel="nofollow noreferrer">Copy Files Over SSH task</a> 
  in Azure DevOps through build pipeline but getting error which is "##[error]Unhandled: handle is not a Buffer" see below image (Error). Even though File has been uploaded on remote server with Zero bytes.
  So we don't know why getting this error is there any permission issue on agent-job? </p>
  
  <p>We would appreciate your help.</p>
  
  <p><strong>Error:</strong>
  <a href="https://i.stack.imgur.com/U8UgO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/U8UgO.png" alt="enter image description here"></a> </p>