当前位置:网站首页>gerrit configure SSH Key and account, email information
gerrit configure SSH Key and account, email information
2022-08-11 06:34:00 【Emily_rong_2021】
Configure SSH Key and account, email information
We choose to use SSH to manage the code. Since the transmission between the local Git repository and the GitHub repository is encrypted by SSH, you must let the github repository authenticate your SSH key. Before that, you must generate an SSH key.
Right click anywhere - click "Git Bash Here", enter:
ssh-keygen -t rsa -C '[email protected]'
Where -t specifies the key type, you can set rsa here, -c is the comment of the key, here is set to the mailbox for easy identification;
Just press Enter all the way;

- Configure username and email:
- git config --global user.name "1410475107"
- git config --global user.email "[email protected]"

The email is only optional field to identify the key. The email is only the key for identification
When you create the ssh you type (for example): When you create the ssh
ssh-keygen -t rsa -C "any comment can be here"
-t = The type of the key to generate The type of the key
-C = comment to identify the key The comment used to identify the key
So the Comment is for you only and you can putanything inside.
Many sites and software are using this comment as the key name.
So this comment you can enter anything, many sites and software use this comment as the key name.
What is the use of the mailbox behind -C of ssh-keygen?_BaldWinf's Blog - CSDN Blog
边栏推荐
- Day 71
- CKEditor富文本编辑器工具栏自定义笔记
- The Summer of Open Source 2022 is coming | Welcome to sign up for the OpenMLDB community project~
- js写四位随机数能有多少种可能性?并列出所有可能性
- MSP430学习总结(二)——GPIO
- Manufacturer Push Platform-Huawei Access
- promise 改变状态的方法和promise 的then方法
- 2021-09-11 C language variables and memory allocation
- Tinker's self-introduction
- OpenMLDB官网升级,神秘贡献者地图带你快速进阶
猜你喜欢

厂商推送平台-华为接入

Day 85

STM32-中断优先级管理NVIC

Vscode remote connection server terminal zsh+Oh-my-zsh + Powerlevel10 + Autosuggestions + Autojump + Syntax-highlighting

Jetpack之dataBinding

论文解读TransFG: A Transformer Architecture for Fine-grained Recognition

USB中用NRZI来编码数据

umi约定式路由规则修改

STM32学习总结(二)——GPIO

STM32F407-浅~~析UART异步通信&USART_Init函数入口参数
随机推荐
Tinker的自我介绍
umi约定式路由规则修改
实时特征计算平台架构方法论和基于 OpenMLDB 的实践
编译异常解决
IIC and SPI
Simple mine sweeping in C language (with source code)
OpenMLDB v0.5.0 发布 | 性能、成本、灵活性再攀高峰
vscode插件开发——代码提示、代码补全、代码分析(续)
Jetpack's dataBinding
谨此留个纪念
The whole process of Tinker access --- Compilation
ARM assembly instruction ADR and LDR
Certificate of SearchGuard configuration
js写四位随机数能有多少种可能性?并列出所有可能性
Node stepping on the pit 80 port is occupied
NUC980-开发环境搭建
智能风控中台设计与落地
Day 84
Fourth Paradigm OpenMLDB optimization innovation paper was accepted by VLDB, the top international database association
Day 73