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) |