ADD SSH KEY TO GITLAB
2016-03-12 17:52
525 查看
1) Check if you already have a key (if you have it following command will give you some valid ouput):
cat ~/.ssh/id_rsa.pub
2) If you have it, skip to step 3. If not, generate key locally (Accept all the defaults, do NOT enter a passphrase):
ssh-keygen -t rsa –C "your-okta-id@thoughtworks.com"
3) Copy the content of the ssh key
cat ~/.ssh/id_rsa.pub | pbcopy
4) Paste the content in Gitlab >> Profile Settings >> SSH keys >> Add SSH key >> Key Text Box
5) Verify that it is working (you must get a welcome message)
ssh -T git@gitlab.freewheelers.bike
cat ~/.ssh/id_rsa.pub
2) If you have it, skip to step 3. If not, generate key locally (Accept all the defaults, do NOT enter a passphrase):
ssh-keygen -t rsa –C "your-okta-id@thoughtworks.com"
3) Copy the content of the ssh key
cat ~/.ssh/id_rsa.pub | pbcopy
4) Paste the content in Gitlab >> Profile Settings >> SSH keys >> Add SSH key >> Key Text Box
5) Verify that it is working (you must get a welcome message)
ssh -T git@gitlab.freewheelers.bike
相关文章推荐
- WGS84、Web墨卡托、火星坐标、百度坐标互转
- 基于android平台的出题软件---- 每日30题
- Windows 7安装Oracle 10g的方法
- 本地库内容推送到远程库
- CodeForces 618A:Slime Combining【模拟】
- Visual Studio 2012开发SQL Server 2012商业智能项目
- 新浪微博爬虫模拟登录(爬手机版)
- AdaBoost
- Uoj #131. 【NOI2015】品酒大会 后缀数组,并查集
- 现代软件工程第二周作业
- css中的display
- 四则运算2
- 第二周总结
- sublime text3自定义快捷键
- 计数排序c++实现
- python urllib
- CodeForce 377 A mazes (逆向思维)
- 原型继承名词解释
- 四则运算2及PSP0设计项目计划
- 第三周项目3-输出星号图(e)