github生成ssh密钥
第一步:git输入命令:$ ssh-keygen -t rsa -C "自己的邮箱"
下面是脑残式回车:
Generating public/private rsa key pair.
Enter file in which to save the key (/c/Users/Bairong/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /c/Users/Bairong/.ssh/id_rsa.
Your public key has been saved in /c/Users/Bairong/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:aaxtWCobpD6dTpK0f5KeavlKYWQNIqMJWxbspn7lucw 18353623360@163.com
The key"s randomart image is:
+---[RSA 2048]----+
|=.=. |
|+B.o |
|+.o . |
| oo . . |
| o+ . S |
|.o * . B |
|. *o*o= o |
| ++=BB.. |
| .=BBE. |
+----[SHA256]-----+
看见这一串SHA256就成功!
第二步:在本地C盘下,用户目录下找到.ssh文件夹,复制id_rsa.pub文件里的内容
第三步:创建ssh密钥:
以上是 github生成ssh密钥 的全部内容, 来源链接: utcz.com/z/511750.html