现象

克隆代码出现:Permission denied (publickey).

解决

  1. 进入git安装目录的ssh文件夹,如:F:\soft\git\Git\etc\ssh
  2. 打开ssh_config,底部添加代码
    1. # Added by git-extra
    2. Host *.coding.net
    3. HostkeyAlgorithms +ssh-rsa
    4. PubkeyAcceptedAlgorithms +ssh-rsa