【记录】通过SSH与Github建立连接的流程

00
在将资料提交到Github的Repo或者上传博客文件到Github Pages时,需要将本机的id_rsa.pub
文件上传到github上来实现安全验证。
01
首先用ssh-keygen -t rsa -C [email protected]
创建一个id_rsa.pub
文件;
再在github 上新建 New SSH Key
,填入标题用途,然后粘贴id_rsa.pub
中的内容,保存即可。
02 参考
- Title: 【记录】通过SSH与Github建立连接的流程
- Author: MagicNue
- Created at : 2024-12-30 00:00:00
- Updated at : 2025-06-11 15:21:40
- Link: https://magicnue.top/编程/【记录】通过SSH与Github建立连接的流程/
- License: This work is licensed under CC BY-NC-SA 4.0.
Comments