当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
STM32学习总结(二)——GPIO
论文解读TransFG: A Transformer Architecture for Fine-grained Recognition
Jetpack之dataBinding
vim 编辑解决中文乱码问题
红外线应用-红外遥控
js learning advanced BOM part (pink teacher notes)
Promise.race学习(判断多个promise对象执行最快的一个)
C语言的编译
Tinker接入全流程---配置篇
Day 84
js学习进阶BOM部分(pink老师笔记)
Intelligent risk control China design and fall to the ground
ARM 汇编指令 ADR 与 LDR 使用
Day 73
品优购项目实战笔记
无效的修订:3.18.1-g262b901-dirty
mysql基础总结
【Meetup预告】OpenMLDB+OneFlow:链接特征工程到模型训练,加速机器学习模型开发
mysql basic summary
Day 76









