Git(生成SSH key)

2016-10-11  本文已影响36人  JetLu
// 查看是否存在
ls -al ~/.ssh

// 生成
ssh-keygen -t rsa -b 4096 -C "*your_email@example.com*"

// 添加到本地目录
ssh-add ~/.ssh/id_rsa

// 导入剪切板
clip < ~/.ssh/id_rsa.pub
上一篇下一篇

猜你喜欢

热点阅读