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...
相關文章
相關標籤/搜索