git push 一直报 publickey 拒绝 | ssh-add -l 查不到密钥怎么办

陆零云 34 0
换笔记本之后 git push 一直卡在 Permission denied (publickey)。ssh -T git@github.com 也是这句,加 -v 能看到 Offering public key: /c/Users/me/.ssh/id_rsa,服务端回的是 no mutual signature algorithm。 先怀疑密钥没加载。ssh-add -l 输出 The agent has no identities,确实一个都没有。加...