Chinaunix首页 | 论坛 | 博客
  • 博客访问: 55269
  • 博文数量: 15
  • 博客积分: 365
  • 博客等级: 一等列兵
  • 技术积分: 170
  • 用 户 组: 普通用户
  • 注册时间: 2006-03-30 20:14
文章分类

全部博文(15)

文章存档

2011年(15)

我的朋友

分类: LINUX

2011-06-16 15:27:09

man ssh-keygen

ssh-keygen generates, manages and converts authentication keys for ssh(1).  ssh-keygen can create RSA keys for use by SSH protocol version 1 and RSA or
     DSA keys for use by SSH protocol version 2.  The type of key to be generated is specified with the -t option.  If invoked without any arguments,
     ssh-keygen will generate an RSA key for use in SSH protocol 2 connections.

 -t type
             Specifies the type of key to create.  The possible values are "rsa1" for protocol version 1 and "rsa" or "dsa" for protocol version 2.

所以生成ssh1 key ,运行 ssh-keygen -t rsa1
ssh2 key 默认就可以。


阅读(4853) | 评论(0) | 转发(1) |
0

上一篇:ssh expect

下一篇:没有了

给主人留下些什么吧!~~