创建config
Host git.xx.cn #一定要有域名一样
HostName git.xx.cn
User ypf # 登录用户名(固定为 git,Git 仓库通用)
Port 9922 # 非默认端口(这里明确指定 9922)
IdentityFile C:/Users/Administrator/.ssh/id_ed25519_k83
IdentitiesOnly yes # 强制使用指定的密钥,避免尝试其他密钥
# 正确格式:无多余符号,用逗号分隔算法
PubkeyAcceptedKeyTypes ssh-ed25519,rsa-sha2-256,rsa-sha2-512,ssh-rsa