Git配置SSH-Key

git config --global user.name '沈健' 
git config --global user.email 'sjshenjian@outlook.com'

初次使用 SSH 协议进行代码克隆、推送等操作时,需按下述提示完成 SSH 配置

1 生成 RSA 密钥
ssh-keygen -t rsa
2. 获取 RSA 公钥内容,并配置到 SSH公钥 中
cat ~/.ssh/id_rsa.pub
3. 公钥配置快捷入口
https://gitee.com/profile/sshkeys
https://github.com/SJshenjian/cloud/settings/keys

相关推荐

  1. Git配置SSH-Key

    2024-06-06 00:56:03       28 阅读
  2. git配置2-不同的代码托管平台配置不同的ssh key

    2024-06-06 00:56:03       25 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-06-06 00:56:03       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-06-06 00:56:03       101 阅读
  3. 在Django里面运行非项目文件

    2024-06-06 00:56:03       82 阅读
  4. Python语言-面向对象

    2024-06-06 00:56:03       91 阅读

热门阅读

  1. rose 聊开源—1 你为什么需要一个开源项目

    2024-06-06 00:56:03       25 阅读
  2. django接入djangorestframework-simplejwt步骤

    2024-06-06 00:56:03       31 阅读
  3. blender从视频中动作捕捉,绑定到人物模型

    2024-06-06 00:56:03       24 阅读
  4. 随心笔记,第四更

    2024-06-06 00:56:03       19 阅读
  5. AIGC工具汇总介绍

    2024-06-06 00:56:03       30 阅读
  6. Blender 学习笔记(一)快捷键记录

    2024-06-06 00:56:03       26 阅读
  7. EasyExcel前端怎么使用:深度解析与实用指南

    2024-06-06 00:56:03       25 阅读
  8. CSS:transform作用

    2024-06-06 00:56:03       31 阅读
  9. EasyExcel

    2024-06-06 00:56:03       21 阅读
  10. K-means 聚类算法和K-means ++聚类算法详解【5】

    2024-06-06 00:56:03       29 阅读
  11. 顺序表应用7:最大子段和之分治递归法

    2024-06-06 00:56:03       30 阅读
  12. 设计模式-模板方法模式

    2024-06-06 00:56:03       33 阅读
  13. 02-2.3.6 顺序表和链表的比较

    2024-06-06 00:56:03       26 阅读