Centos7.x与Windows764下生成SSH公钥

Centos7下生成

  • 生成公钥
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
  • 查看公钥
# 默认在此目录下
cd ~/.ssh/
cat id_rsa.pub

window下生成

tips: 需安装gitgit

  • 打开 Git Bash
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
  • 查看公钥
# windows系统下通常在用户目录下的.ssh目录下
参考网站 : https://help.github.com/artic...
相关文章
相关标签/搜索