Git SSH Key 生成步骤
来源:互联网 发布:淘宝卖衣服店铺名 编辑:程序博客网 时间:2024/06/01 14:03
Git是分布式的代码管理工具,远程的代码管理是基于SSH的,所以要使用远程的Git则需要SSH的配置。
github的SSH配置如下:
一 、
设置Git的user name和email:
git config --global user.name "itzhaojian"git config --global user.email "itzhaojian@126.com"
二、生成SSH密钥过程:
1.查看是否已经有了ssh密钥:cd ~/.ssh
如果没有密钥则不会有此文件夹,有则备份删除
2.生存密钥:
ssh-keygen -t rsa -C "itzhaojian@126.com"
按3个回车,密码为空。
Your identification has been saved in /home/tekkub/.ssh/id_rsa.
Your public key has been saved in /home/tekkub/.ssh/id_rsa.pub.
The key fingerprint is:
………………
最后得到了两个文件:id_rsa和id_rsa.pub
id_rsa.pub文件内容就是我们想要的ssh key密钥
0 0
- Git SSH Key 生成步骤
- Git SSH Key 生成步骤
- Git SSH Key 生成步骤
- Git SSH Key 生成步骤
- Git SSH Key 生成步骤
- Git SSH Key 生成步骤
- Git SSH Key 生成步骤
- Git SSH Key 生成步骤
- Git SSH Key 生成步骤
- Git SSH Key 生成步骤
- Git SSH Key 生成步骤
- Git SSH Key 生成步骤
- Git SSH Key 生成步骤
- Git SSH Key 生成步骤
- Git SSH Key生成步骤
- Git SSH Key 生成步骤
- Git SSH Key 生成步骤
- Git SSH Key 生成步骤
- 前段坑积累
- mybatis和hibernate的差别(简单总结)
- HDOJ 1222 Wolf and Rabbit ( GCD 和思维 )
- 使用FFmpeg解码私有传输协议标准H264流(1)
- 【POJ 1364】King(差分约束系统)
- Git SSH Key 生成步骤
- 最新C# Object与json互转
- 从头到尾彻底理解KMP
- 通过手势实现Android自定义View的缩放
- The Sum of Cube
- 2016 Multi-University Training Contest 1-1004---HDU 5726 GCD
- 【linux c】一维至多维数组名的的含义及其取地址的含义_学习笔记_011
- 杭电 Problem 2187 悼念512汶川大地震遇难同胞——老人是真饿了【贪心】
- jQuery Mobile 过渡