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.

This article was updated on 2023-01-25

I'm nabeards.

I'm a full stack JavaScript developer.

I travel full time, a.k.a., Professional Wanderer, a.k.a., Digital Nomad.