SSH-key 的相关问题
来源:互联网 发布:iphone移动数据开关 编辑:程序博客网 时间:2024/05/16 16:09
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-keygenGenerating 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
0 0
- SSH-key 的相关问题
- ssh key 的问题
- git 的ssh key:多个ssh key问题
- 多个ssh key的使用问题
- Github添加SSH key时的问题
- ssh key登陆 出现public key被拒绝的问题
- 关于git的ssh-key:解决本地多个ssh-key的问题
- 关于git的ssh-key:解决本地多个ssh-key的问题
- 关于git的ssh-key:解决本地多个ssh-key的问题
- git生成ssh key及本地解决多个ssh key的问题
- git生成ssh key及本地解决多个ssh key的问题
- git生成ssh key及本地解决多个ssh key的问题
- git生成ssh key及本地解决多个ssh key的问题
- git生成ssh key及本地解决多个ssh key的问题
- Git生成ssh key及本地解决多个ssh key的问题
- SSH Key 的使用
- 本地多ssh-key问题
- git配置及多个ssh key的问题
- 常见的均值不等式的使用技巧
- 统计难题(hdoj1251)
- 一个简单的自定义SeekBar样式
- Spring MVC File Upload Example
- 深入php中var_dump方法的使用详解
- SSH-key 的相关问题
- 水仙花数
- Dlib人脸特征点检测(速度优化)
- MySQL数据库操作
- HDOJ 1234 开门人和关门人 (结构体排序)
- Begin 写博客啦,将自己每天的收获记录下来
- poj 2057 The Lost House
- Activity
- Semaphore实现信号灯