配置ssh-keygen比较具体比较小白的步骤
2016-12-15 14:46
246 查看
原文地址:http://blog.csdn.net/tutuzhuz/article/details/42487121
首先在终端中输入 ssh-keygen -t rsa -C "你的邮箱地址” 回车
出现这条语句后 Enter file in which to save the key (/Users/*****/.ssh/id_rsa):
回车
Overwrite (y/n)? 在这条后面 输y 回车
然后是输入密码和重复密码
不用输入一直回车就可以
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
出现下面这些就是配置完成了
The key fingerprint is:
27:ed:46:9e:2b:…50:5f:47:7f:ed:c7:42:39 zzz@abc.com
The key's randomart image is:
+--[ RSA 2048]----+
| .. ..o|
| . . . oo|
| . . E +|
| .. . +.|
| . + |
| o*.. ..|
| o += |
| o... |
| .. |
+-----------------+
然后前往这里/Users/*****/.ssh/id_rsa 会有两个文件 打开 .pub 的那个,拷贝里面所有的内容到你的SSH KEYS key 里面 就好了
昨天熟悉了一下gitflow的操作流程和具体命令。
有兴趣的可以看看这个链接
http://danielkummer.github.io/ href="http://lib.csdn.net/base/git" target=_blank>Git-flow-cheatsheet/index.zh_CN.html
首先在终端中输入 ssh-keygen -t rsa -C "你的邮箱地址” 回车
出现这条语句后 Enter file in which to save the key (/Users/*****/.ssh/id_rsa):
回车
Overwrite (y/n)? 在这条后面 输y 回车
然后是输入密码和重复密码
不用输入一直回车就可以
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
出现下面这些就是配置完成了
The key fingerprint is:
27:ed:46:9e:2b:…50:5f:47:7f:ed:c7:42:39 zzz@abc.com
The key's randomart image is:
+--[ RSA 2048]----+
| .. ..o|
| . . . oo|
| . . E +|
| .. . +.|
| . + |
| o*.. ..|
| o += |
| o... |
| .. |
+-----------------+
然后前往这里/Users/*****/.ssh/id_rsa 会有两个文件 打开 .pub 的那个,拷贝里面所有的内容到你的SSH KEYS key 里面 就好了
昨天熟悉了一下gitflow的操作流程和具体命令。
有兴趣的可以看看这个链接
http://danielkummer.github.io/ href="http://lib.csdn.net/base/git" target=_blank>Git-flow-cheatsheet/index.zh_CN.html
相关文章推荐
- CentOS 6.5安装配置Nginx
- 欢迎使用CSDN-markdown编辑器
- 方形图片,高度铺满,宽度居中裁剪
- Eclipse-Eclipse常用快捷键
- entOS查看CPU、内存、网络流量和磁盘 I/O
- linux mysql 忘记密码 怎么修改密码
- asp.net中webForm验证码
- Linux部署Apache ActiveMQ 5.14.2启动报错
- 使用iOS多媒体框架实现视频倒放
- 【Android】给Android 开发者的 RxJava 详解
- 【codevs1993】 草地排水
- c#定时器
- 常用的cmd命令
- Mongodb 副本集搭建问题总结及解决办法
- Android中的5种数据存储方式
- 【BZOJ2242】[SDOI2011]计算器
- 微信HTML5小游戏之飞机大战
- Linux 安装composer 及laravel 对 composer使用
- Java7语法新特性
- 导入第三方库unknown type name 'NSString'解决