Centos7下生成
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
# 默认在此目录下 cd ~/.ssh/ cat id_rsa.pub
window下生成
tips: 需安装gitgit
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
# windows系统下通常在用户目录下的.ssh目录下
参考网站 : https://help.github.com/artic...