Error on SCP: `protocol error: mtime.sec not present`
Troubleshoot with scp -vvvv
Could be SCP protocol isn’t supported, and you need to use SFTP
However, in my case, the solution was that I had too many logins already on the target machine. So did a logout of one of my sessions, then all good.