当前位置:网站首页>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
边栏推荐
- Argparse模块 学习
- typescript学习日记,从基础到进阶(第二章)
- scanf函数在混合接受数据(%d和%c相连接)时候的方式
- Jetpack's dataBinding
- JNI入门
- Fourth Paradigm OpenMLDB optimization innovation paper was accepted by VLDB, the top international database association
- OpenMLDB v0.5.0 released | Performance, cost, flexibility reach new heights
- PAT乙级刷题之路
- 栈stack
- OpenMLDB + Jupyter Notebook:快速搭建机器学习应用
猜你喜欢
随机推荐
Day 72
栈stack
STM32学习笔记(白话文理解版)—搞懂PWM输出
127.0.0.1 connection refused
vscode插件开发——代码提示、代码补全、代码分析(续)
Day 85
USB 枚举过程中8 字节标准请求解析
gerrit 配置SSH Key和账号、邮箱信息
Tinker接入全流程---编译篇
精彩联动 | OpenMLDB Pulsar Connector原理和实操
使用c语言实现井字棋(有源码,可以直接运行)
STM32F4-正点原子探索者-SYSTEM文件夹下的delay.c文件内延时函数详解
js 学习进阶(事件高级 pink老师教学笔记)
无效的修订:3.18.1-g262b901-dirty
mk文件介绍
Pinyougou project combat notes
Day 68
ASP.NET MVC 4中实现action的事务功能
华为IOT设备消息上报和消息下发验证
js常用方法对象及属性