We are trying to deploy file to remote server using CopyFilesOverSSH service Copy Files Over SSH task 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?
We would appreciate your help.