Centos7.x与Windows764下生成SSH公钥
文章目录
Centos7下生成
- 生成公钥
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
- 查看公钥
# 默认在此目录下
cd ~/.ssh/
cat id_rsa.pub
window下生成
tips: 需安装git
- 打开 Git Bash
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
- 查看公钥
# windows系统下一般在用户目录下的.ssh目录下
参考网站 : https://help.github.com/artic...
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论