Command Manual ( For Soliton ) – SSH
H3C S3100 Series Ethernet Switches
Chapter 1 SSH Commands
1-9
1.1.7 display ssh user-information
Syntax
display ssh user-information
[
username
]
View
Any view
Parameters
username
: SSH user name, a string of 1 to 184 characters. It cannot contain any of
these characters: slash (/), backslash (\), colon (:), asterisk (*), question mark (?), less
than sign (<), greater than sign (>), and the vertical bar sign (|). In addition, the @ sign
can appear up to once, the username part (that is, the string before the @ sign) cannot
be more than 55 characters, and the domain name part cannot be more than 128
characters.
Description
Use the
display ssh user-information
command on an SSH server to display
information about the current SSH users, including user name, authentication type,
corresponding public key name and authorized service type. If the
username
argument
is specified, the command displays information about the specified user.
Related commands:
ssh authentication-type default
,
ssh user
,
ssh user
authentication-type, ssh user assign
,
ssh user service-type
.
Examples
# Display information about the current SSH users.
<Sysname> display ssh user-information
Username Authentication-type User-public-key-name Service-type
kk publickey test sftp
1.1.8 peer-public-key end
Syntax
peer-public-key end
View
Public key view
Parameters
None