You won't be able to pull or push project code via SSH until you add an SSH key to your profile
在向你的配置文件中添加SSH密匙之前,你将无法通过SSH拉取获取或者推送代码。
创建一个SSH Key:
lanfeiy@yelanfei MINGW64 /
$ ssh-keygen -t rsa -C "邮件地址"
Generating public/private rsa key pair.
Enter fileinwhich to save the key (/c/Users/lanfeiy/.ssh/id_rsa):
Created directory '/c/Users/lanfeiy/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /c/Users/lanfeiy/.ssh/id_rsa
Your public key has been saved in /c/Users/lanfeiy/.ssh/id_rsa.pub
The key fingerprint is:
SHA256:IDPd3oMh4UD/PRIEwgH9D2NPXRQ4aBWxZhPadoXL8Gs XXXXXXXXXXXXXXXXXXXXXX
The key's randomart image is:
+---[RSA 3072]----+
| .==.o..o==oo. || o* +oo+oo. || +.*.=.B*..||+==.X.o+ ||. *S =.|| o. oE ||.|||||
+----[SHA256]-----+
场景:You won't be able to pull or push project code via SSH until you add an SSH key to your profile在向你的配置文件中添加SSH密匙之前,你将无法通过SSH拉取获取推送代码。创建一个SSH Key:lanfeiy@yelanfei MINGW64 /$ ssh-keygen -t rsa -C "邮件地址"Generating public/private rsa key pair.Enter f