<p>Enter passphrase (empty for no passphrase): </p>
<p><fontcolor="#00CD00">//这里是要你输入密码,其实不需要输什么密码,直接回车就行</font><br>Enter same passphrase again: </p>
</blockquote>
<fontcolor="#00CD00">//这里是要你输入密码,其实不需要输什么密码,直接回车就行</font><br>> Enter same passphrase again:<br><br>接下来屏幕会显示:<br>> Your identification has been saved in /c/Users/you/.ssh/id_rsa.<br>> Your public key has been saved in /c/Users/you/.ssh/id_rsa.pub.<br>> The key fingerprint is:<br>> 这里是各种字母数字组成的字符串,结尾是你的邮箱<br>> The key’s randomart image is:<br>> 这里也是各种字母数字符号组成的字符串<br><br>运行以下命令,将公钥的内容复制到系统粘贴板上<br>> $ clip < ~/.ssh/id_rsa.pub<br><br>四、在 GitHub 账户中添加你的公钥<br><br>1.登陆 GitHub,进入 <fontcolor="#DC143C">Settings</font>:<br><br><imgsrc="https://i.imgur.com/jzyEME2.png"alt=""><br><br>2.点击 <fontcolor="#DC143C">SSH and GPG Keys</font>:<br><br><imgsrc="https://i.imgur.com/4PAjGms.png"alt=""><br><br>3.选择 <fontcolor="#DC143C">New SSH key</font>:<br><br><imgsrc="https://i.imgur.com/CYnhV4W.png"alt=""><br><br>3.粘贴密钥:<br><br><imgsrc="https://i.imgur.com/vnTjW4z.png"alt=""><br><br>五、测试<br><br>输入以下命令:<fontcolor="#DC143C">注意:<ahref="mailto:git@github.com"target="_blank"rel="noopener">git@github.com</a>不要做任何更改!</font>
<p>接下来屏幕会显示:</p>
<blockquote>
<p>Your identification has been saved in /c/Users/you/.ssh/id_rsa.<br>Your public key has been saved in /c/Users/you/.ssh/id_rsa.pub.<br>The key fingerprint is:<br>这里是各种字母数字组成的字符串,结尾是你的邮箱<br>The key’s randomart image is:<br>这里也是各种字母数字符号组成的字符串 </p>