创建远程仓库

创建远程仓库

  • 生成公钥
  • 添加SSH公钥
  • 添加远程仓库

生成公钥

ssh-keygen -t rsa -C "[email protected]"
Generating public/private rsa key pair.
Enter file in which to save the key (//默认路径):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in //路径.
Your public key has been saved in //路径.
The key fingerprint is:r
SHA256:9OQu8Cm8tkaUoJDKLvexbfrFTr0uOjcD2hANSQjQSL0 "[email protected]"
The key's randomart image is:
+---[RSA 2048]----+
|==.o..           |
|. o.+            |
| o ..+ .. .      |
|o..E. +. +       |
|+    o. S o      |
|o.. o.o+ +       |
|.. . Oo.B o      |
|    + B==o .     |
|    .*==.=o      |
+----[SHA256]-----+

添加SSH公钥

创建远程仓库_第1张图片

添加远程仓库

创建远程仓库_第2张图片

你可能感兴趣的:(创建远程仓库)