赞
踩
参考:
https://blog.csdn.net/qq_31411389/article/details/53518507
gitbash中:
ssh-keygen -t rsa
生成成功:
Your identification has been saved in /c/Users/xxxxxx/.ssh/id_rsa. // 文件目录
// .......
The key's randomart image is:
+---[RSA 2048]----+
| =+o |
| ..= |
| .o . . |
|o.. o + . |
|=. E+.* S |
|=*.=o+ + |
|Bo=*+ + |
|+==o+o |
|.=*=+o |
+----[SHA256]-----+
在gitlab中:setting中:SSH Keys
把id_rsa.pub复制进去,这样就可以了(多个key也没事,不用删除其他的)
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。