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

4500 series
Hide thumbs Also See for Switch 4500 Family:
Table of Contents

Advertisement

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
client

display ssh2 source-ip

Syntax
display ssh2 source-ip
View
Any view
Authentication-type
publickey
1-7
User-public-key-name
test
Service-type
sftp

Advertisement

Table of Contents
loading

This manual is also suitable for:

4500 26-port4500 50-port4500 pwr 26-port

Table of Contents