EasyManua.ls Logo

3Com Switch 4500 Family - Display Ssh User-Information; Display Ssh2 Source-Ip

3Com Switch 4500 Family
942 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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 all
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
# Create an SSH user named client and specify publickey authentication as the authentication mode
for the SSH user.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] ssh user client authentication-type publickey
# Configure SFTP as the service type for the SSH user.
[Sysname] ssh user client service-type sftp
# Assign the public key test for the SSH user.
[Sysname] ssh user client assign publickey test
# Display information about the SSH user configured on the SSH server.
[Sysname] display ssh user-information
Username Authentication-type User-public-key-name Service-type
client publickey test sftp
display ssh2 source-ip
Syntax
display ssh2 source-ip
View
Any view

Table of Contents

Related product manuals