为git生成ssh key Posted on 2019-05-20 在命令行输入ssh-keygen –t rsa –C “johndoe@doebrothers.com“敲三个回车之后,在用户/用户名/.ssh目录下生成两个文件,其中.pub是公钥(上传到github)