GSWB 8.3 Operation Commands

8.3.14SSH-related commands

8.3.14.1 ssh keygen

This command generates the RSA key/DSA key used by ssh:

zThree types of keys can be created: rsa1, rsa, dsa.

zOne type of key file can be set for a server.

zIf the key type specified by this command is set and the key specified by the ssh server is used for activation, an error occurs.

zIf the user executes this command at the same time as the command is executed on another terminal, an error occurs.

zThe time required for generating a key may be much longer depending on the GSWB operating status.

Table 8.46 Guide to key generation time

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

(1) Synopsis

ssh keygen <numbit> { rsa1 rsa dsa }

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

C122-E003-02EN

8-309