美文网首页开发库社区
卡夫的Mac 06 - Mac配置ssh密钥

卡夫的Mac 06 - Mac配置ssh密钥

作者: 7c03aed0f01f | 来源:发表于2017-08-27 21:26 被阅读38次

视频地址

学徒卡夫 - 卡夫的Mac 06 - Mac配置ssh密钥
https://www.bilibili.com/video/av13888573/

生成密钥

cd ~
ssh-keygen -t rsa -C "邮箱地址" # 一直按回车
cd ~/.ssh/
cat id_rsa.pub >> authorized_keys
cat id_rsa.pub

GitHub 添加账号密钥

Setting -> SSH and GPG keys -> New SSH Key -> key

最后配置

ssh -T git@github.com
git config --global user.email "你的邮箱"

相关文章

网友评论

    本文标题:卡夫的Mac 06 - Mac配置ssh密钥

    本文链接:https://www.haomeiwen.com/subject/jrmidxtx.html