SSH-key 的相关问题
2016-07-18 21:31
239 查看
Generating an SSH key(以github在mac上为例)
Checking
for existing SSH keys
Before you generate an SSH key, you can check to see if you have any existing SSH keys.查看你的ssh key
cd
~/.ssh && ssh-keygen
Generating
a new SSH key and adding it to the ssh-agent
After you've checked for existing SSH keys, you can generate a new SSH key to use for authentication, then add it to the ssh-agent.如果上一步没有的话,就要自己去生成一个ssh-key(待续)
Adding
a new SSH key to your GitHub account
To configure your GitHub account to use your new (or existing) SSH key, you'll also need to add it to your GitHub account.粘贴上一步的ssh-key(通过如下命令,key直接出线在黏贴版中)
On OS X run:
cat id_rsa.pub | pbcopy
On Linux run:
cat id_rsa.pub | xclip
On Windows (via Cygwin/Git Bash) run:
cat id_rsa.pub | clip
进到github中的setting,添加你的ssh-key
Testing
your SSH connection
测试连接,以fakestmp为例git clone git@github.com:Nilhcem/FakeSMTP.git
相关文章推荐
- 安卓项目之淘忆2.0的界面设计部分二
- 【CodeForces】[25A]IQ test
- node.js之lodash介绍
- 使用IDE工具进行程序的导入导出
- Java中的接口
- Android Studio运行时finished with non-zero exit value 1 或:app:transformClassesWithDexForNduoDebug
- 史上最全IO框架十(字符串流:属于字符流)
- nginx配置非80端口访问不了
- Android开发之Bundle与Intent详解
- UVA10892LCM Cardinality
- Android广播错误.MainActivity$MyReceiver; no empty constructor
- 【转载】使用C#进行系统编程
- 最小公倍数 最大公约数
- MySQL数据库操作
- Builder模式处理多个构造器
- JDBC基础
- POJ 1270 Following Orders(dfs/next_permutation())
- 管道
- HDU 1787 GCD Again (欧拉函数)
- 视频直播基础技术总结1