The public key that you assign to a user by using this command will replace the one
that you have assigned last time.
The AAA module is responsible for the creation and deletion of local usernames in the
system. Whenever creating an SSH user, The AAA module will inform SSH whenever
it creates an SSH user, and SSH will add the username into the maintained user
database. Likewise, the AAA module will inform SSH whenever it deletes a user, and
SSH will look up the username database for a match and will delete the matched
username, if there is any.
The newly configured public key will take effect the next time when the user logs in
the router.
For related command, see display ssh user-information.
Example
Assign the public key key1 to the user smith.
[3Com] ssh user smith assign rsa-key key1
3.19 ssh
user
authentication-type
Syntax
ssh user username authentication-type { password | RSA | all }
undo ssh user username authentication-type { password | RSA | all }
View
System view
Parameter
username: The specified username.
password: Specifies the password mode as the authentication mode for the user by
force.
RSA: Specifies the RSA mode as the authentication mode for the user by force.
all: The authentication mode of the user can be either password or RSA.
Description
Using the ssh user username authentication-type command, you can set an
authentication mode for a specified user. Using the undo ssh user username
3Com Router Command Reference Guide Addendum for V1.2
65