记录/通过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-11-30 12:19:50
- Link: https://magicnue.top/posts/记录/通过SSH与Github建立连接的流程/
- License: This work is licensed under CC BY-NC-SA 4.0.
Comments