Open avarabyeu opened 2 years ago
you need ssh-add ~/.ssh/id_rsa
In my case, it turns out that my key in known host was obsolete.
~/.ssh/known_hosts
, search for github, remove the line.ssh -T git@github.com
and accept the keyprotodep up
Alternatively, ssh-keygen -R github.com
should work as well.
OS:
MacOS Monterey 12.5.1
SSH Configuration seems to be fine,ssh -T git@github.com
works