- 生成ssh key,打開終端,輸入以下命令
ssh-keygen -t rsa -C "[email protected]"
-
完成之後,找到對應的文件
C:\Users\14624.ssh 中 id_rsa.pub 文件
-
打開 id_rsa.pub文件 ,複製內容
-
打開網址 https://github.com/settings/ssh/new ,將複製的內容粘貼到key的輸入框中
ssh-keygen -t rsa -C "[email protected]"
完成之後,找到對應的文件
C:\Users\14624.ssh 中 id_rsa.pub 文件
打開 id_rsa.pub文件 ,複製內容
打開網址 https://github.com/settings/ssh/new ,將複製的內容粘貼到key的輸入框中