Chinaunix首页 | 论坛 | 博客
  • 博客访问: 853365
  • 博文数量: 581
  • 博客积分: 7803
  • 博客等级: 少将
  • 技术积分: 3653
  • 用 户 组: 普通用户
  • 注册时间: 2007-04-27 08:21
文章分类

全部博文(581)

文章存档

2013年(7)

2012年(414)

2011年(159)

2009年(1)

分类: LINUX

2011-07-14 10:21:27

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 DSA, ECDSA or RSA keys for use by SSH protocol version 2.  The type
of key to be generated is specified with the -t option.  If invoked with-
out 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 'dsa', 'ecdsa' or 'rsa'
      for protocol version 2.

-f filename
      Specifies the filename of the key file.

-N new_passphrase
      Provides the new passphrase.

-b bits
      Specifies the number of bits in the key to create.  For RSA keys,
      the minimum size is 768 bits and the default is 2048 bits.  Gen-
      erally, 2048 bits is considered sufficient.  DSA keys must be ex-
      actly 1024 bits as specified by FIPS 186-2.  For ECDSA keys, the
      -b flag determines they key length by selecting from one of three
      elliptic curve sizes: 256, 384 or 521 bits.  Attempting to use
      bit lengths other than these three values for ECDSA keys will
      fail.

阅读(609) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~