github的使用:生成SSH Key
2016-04-27 20:30
387 查看
检查是否已经存在SSH key
生成SSH key,将your_email@example.com替换成github的注册邮箱,生成的SSH key默认保存在 ~/.ssh 文件夹中
添加ssh key 到ssh-agent
添加ssh key 到 github 账号中
1.copy ssh-key 到粘贴板
其余操作见在github添加ssh key
<span style="color:#000066;">$ ls -al ~/.ssh</span>
生成SSH key,将your_email@example.com替换成github的注册邮箱,生成的SSH key默认保存在 ~/.ssh 文件夹中
$ ssh-keygen -t rsa -b 4096 -C "your_email@example.com" # Creates a new ssh key, using the provided email as a label Generating public/private rsa key pair.
添加ssh key 到ssh-agent
$ ssh-add ~/.ssh/id_rsa
添加ssh key 到 github 账号中
1.copy ssh-key 到粘贴板
$ clip < ~/.ssh/id_rsa.pub
其余操作见在github添加ssh key
相关文章推荐
- RPC failed; result=22, HTTP code = 411
- 查看github pages文档的方式
- 使用BAE的基于Web.py的简单博客程序
- Linux Generating SSH Keys
- git更新已經刪除的文件
- 提取Git每次提交后Commit的文件
- GIT迁移服务器
- 分布式版本管理git入门指南使用资料汇总及文章推荐
- git终极指南:在实际开发中的应用
- 两分钟学会如何在github托管代码
- perl脚本实现限制ssh最大登录次数(支持白名单)
- rsync ssh 数据同步分析
- 搭建SSH时的思考和遇到的几个问题的解决方法
- SSH 使用原理 与解释
- SSH整合中 hibernate托管给Spring得到SessionFactory
- Linux VPS利用SSH重置ROOT密码的方法
- ssh,scp自动登陆的实现方法
- Git远程操作详解