I cloned this repository using https originally. After making some modifications, I couldn’t push my changes with ssh.
% git push
fatal: remote error:
You can't push to git://github.com/droberson/yararules.git
Use https://github.com/droberson/yararules.git
This was an easy fix:
git remote set-url origin git@github.com:/USER/REPO.git