In my case, the remote host had ran out of storage. Inspecting the output tab of the "Remote - SSH" extension shows it failing at a mkdir command.