3com 8807 Guida Di Riferimento
SSH Server Configuration Commands
947
View
Any view
Parameter
username: Valid SSH username.
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.
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.
authentication-type, ssh user username service-type, display local-user,
display rsa peer-public-key.
Example
# Display the current SSH user information.
<SW8800> 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:
user-information is displayed with wildcard " ...". An example is given below:
# Display current SSH user information.
<SW8800> 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.
peer-public-key command respectively to view Username and
User-public-key-name which are too long.
peer-public-key end
Syntax
peer-public-key end
View
Public key view
Parameter
None
Description
Use the peer-public-key end command to exit the public key view and return to
the system view.
the system view.
Related command: rsa peer-public-key, public-key-code begin.