I received this error today. In my case, the ssh agent service was not running. After enabling, I was able to clone a repo with SSH.