Command Manual – System Management
Quidway S8500 Series Routing Switches
Chapter 8 SSH Terminal Service Configuration
Commands
Huawei Technologies Proprietary
8-5
Description
Use the
display ssh user-information
command to display information about the
current SSH user, including username, peer key name, authentication mode and the
types of authorized services. If you specify the argument
username
in the command,
the user information about the specified username will be displayed.
Related command:
ssh user username assign rsa-key
,
ssh user username
authentication-type
,
ssh user username service-type
,
display local-user
,
display
rsa peer-public-key
.
Example
# Display the current SSH user information.
<Quidway> display ssh user-information
Username Authentication-type User-public-key-name Service-type
sshuser2 rsa sshuser2 stelnet
sshuser1 password sshuser1 stelnet
If the Username and User-key-name are too long, the result of the
dispaly ssh
user-information
is displayed with wildcard ”
...
”. An example is given below:
# Display current SSH user information.
<Quidway> display ssh user-information
Username Authentication-type User-public-key-name Service-type
admin password aaaaaaaaaabbbbbbb... sftp
aaaaaaaaaabbbbbb... all aaaaaaaaaabbbbbbb... stelnet
fxdfxdfxdfxdfxdf... null null stelnet|sftp
You can use the
display local-user
command and the
display rsa peer-public-key
command respectively to view Username and User-public-key-name which are too
long.
8.1.6 peer-public-key end
Syntax
peer-public-key end
View
Public key view
Parameter
None