gitlab解决git Clone 出现 Permission denied, please try again

1.打开git bash



2.输入   ssh-keygen -C +"邮件"

例如:ssh-keygen -C"[email protected]"

3.结果:


4.  cd ~/.ssh/

5.cat id_rsa.pub

 6.登录gitlab



7. 设置gitlab sshkey



8.再次clone即可

你可能感兴趣的:(gitlab解决git Clone 出现 Permission denied, please try again)