H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – SSH Terminal Service
H3C S7500 Series Ethernet Switches
Chapter 1 SSH Terminal Service
Configuration Commands
1-16
Use the undo ssh user to delete a specified SSH user.
For an SSH user created by using this command, if you do not specify an authentication
type by using the ssh user authentication-type command for this user, this SSH user
adopts the default authentication type.
Note:
An SSH user is created on an SSH server for the purpose of specifying the
authentication type, the SSH service type, and the public key for the SSH user. An
existing SSH user will be removed automatically if it has none of the authentication type,
the SSH service type, and the public key configured.
Examples
# Create an SSH user with the name abc.
<H3C> system-view
Enter system view, return to user view with Ctrl+Z.
[H3C] ssh user abc
1.1.18 ssh user assign rsa-key
Syntax
ssh user username assign rsa-key keyname
undo ssh user username assign rsa-key
View
System view
Parameters
username: SSH user name, a string of 1 to 80 characters.
keyname: Client public key name, a string of 1 to 64 characters.
Description
Use the ssh user assign rsa-key command to allocate public keys to SSH users.
Use the undo ssh user assign rsa-key command to remove the association between
the public keys and SSH users. The configuration takes effect at the next login.
If the user already has a public key, the new public key overrides the old one.
Related commands: display ssh user-information.