C122-E003-02EN 8-309
GSWB
8.3 Operation Commands
8.3.14 SSH-related commands
8.3.14.1 ssh keygen
This command generates the RSA key/DSA key used by ssh:
z Three types of keys can be created: rsa1, rsa, dsa.
z One type of key file can be set for a server.
z If the key type specified by this command is set and the key specified by the ssh
server is used for activation, an error occurs.
z If the user executes this command at the same time as the command is executed on
another terminal, an error occurs.
z The time required for generating a key may be much longer depending on the
GSWB operating status.
Table 8.46 Guide to key generation time
(1) Synopsis
(2) Options
z <numbit>: Specifies the number of bits in the key.
- 1024
- 2048
z { rsa1 | rsa | dsa }: Specifies the key type.
- rsa1: Creates an RSA key (SSH protocol Version1)
- rsa: Creates an RSA key (SSH protocol Version2)
- dsa: Creates a DSA key (SSH protocol Version2)
No Key type Number of bits Time (s)
1 rsa1 1024 5
2 2048 45
3 rsa 1024 10
4 2048 60
5 dsa 1024 20
6 2048 225
ssh keygen <numbit> { rsa1 | rsa | dsa }