Command Reference Guide
374 ● ssh user assign 3Com Router 5000 Family and Router 6000 Family
Command Reference
ssh user assign
Purpose Use the ssh user assign command to assign one existing public key to a user. If
a key exists, the new assignment overrides.
Use the undo ssh user assign command to delete the association.
Syntax ssh user username assign rsa-key keyname
undo ssh user username assign rsa-key
Parameters username: username
SSH user name; it must be consistent with the user
name defined in AAA if password authentication is
adopted. If RSA authentication is adopted, the value of
this argument is a local SSH user name and needs not
to be defined in AAA.
keyname
Public key name of the client, consisting of a string
from 1 to 64 characters long.
Example Assign key1 to user Smith.
[3Com] ssh user smith assign rsa-key key1
[3Com]
View This command can be used in the following views:
■ System view
Description The AAA module is responsible for creating and deleting local users in the system.
Each time AAA creates an SSH user, SSH receives a notification and adds the user into
the user set that it maintains. Likewise, each time AAA deletes an SSH user, SSH
receives a notification and deletes the user if there is any.
The newly configured public key becomes valid at next login.
Related Command: display ssh user-information