Git 学习日志之五 ——SSH 配置 | 珊瑚贝

SSH 配置:

  • 使用命令在 home 文件夹下新建一个 ssh 文件

配置 SSH 信息,命令:ssh-keygen -t rsa -C e-mail(此时的 C 必须是大写,Email 为绑定了 github 的邮箱),稍后一路回车选择默认值即可

查看 id_rsa.pub 信息,并将其复制到粘贴版中 (稍后会用到!)

  • 进入到 github 中点击右上角的头像,选择 setting ——> SSH and GPG keys ——> 将上述复制内容粘贴到编辑面板中 ——> 完成

完成

来源:https://cuiqingcai.com/9403.html

微信公众号
手机浏览(小程序)

Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_11279.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?