I had the same error "pscp: unable to open YourFilePath: permission denied",
check the ownership of the file you are trying to overwrite,
you will get this error if you can't overwrite it,
If you don't have control over the remote file, just simply try to rename the file you are trying to move.