Command Reference Guide
3Com Router 3000 Ethernet Family
Command Reference Guide
Error! Reference source not found.Error! Re
f
erence source not found.
3Com Corporation
9-27
keyname: Public key name of the client, a string of 1 to 64 characters.
Description
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.
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.
Example
# Assign key1 to user Smith.
[3com] ssh user smith assign rsa-key key1
[3com]
9.2.22 ssh user authentication-type
Syntax
ssh user username authentication-type { password | rsa | all |
password-publickey }
undo ssh user username authentication-type
View
System view
Parameter
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.
password: Sets the authentication mode of the user to password.
rsa: Sets the authentication mode of the user to RSA.
all: The authentication mode of the user can be either password or RSA.
password-publickey: Sets the authentication mode for the SSH user to the
combination of AAA and RSA.










