gitee公钥配置
ssh版本问题
不能使用rsa要用ed25519
https://www.cnblogs.com/ice-image/p/15420411.html
known_host删除了
在ssh -T git@gitee.com的时候会提示是否新建,输入yes不要直接按回车
定位错误
输入ssh -T -v git@gitee.com会显示详细细节,然后比对,找出不同。如:
debug1: send_pubkey_test: no mutual signature algorithm
debug1: No more authentication methods to try.
git@gitee.com: Permission denied (publickey).