3Com Switch 7750 Configuration Guide Guide

SSH Terminal Services 719
use the display rsa local-key-pair public command to display the generated
key pairs.
After you configure the rsa local-key-pair command, the system prompts you to
define the key length.
In SSHv1.x, the key length is in the range of 512 to 2,048 (bits).
In SSHv2.0, the key length is in the range of 768 to 2,048 (bits).
c
CAUTION:
For a successful SSH login, you must generate a local RSA key pair first.
You just need to execute the command once, with no further action required
even after the system is rebooted.
If you use this command to generate an RSA key provided an old one exits, the
system will prompt you to replace the previous one or not.
Creating an SSH user
This configuration task is used to configure an SSH user.
Note that: an SSH user created in this way adopts the default authentication type
if you do not use the ssh user authentication-type command to specify an
authentication type for this user.
Configuring authentication type
New users must specify authentication type. Otherwise, they cannot access the
switch.
Table 551 Generate or destroy RSA key pairs
Operation Command Description
Enter system view system-view -
Generate a local RSA key pair rsa local-key-pair create Required
Destroy a local RSA key pair rsa local-key-pair destroy Optional
Table 552 Create an SSH user
Operation Command Description
Enter system view system-view -
Create an SSH user ssh user username Optional
Table 553 Configure authentication type
Operation Command Description
Enter system view system-view -
Specify a default
authentication type for SSH
users
ssh authentication-type
default { password | rsa |
password-publickey | all }
Optional;
By default, the password
authentication type is
specified.