Ssh2.0 Client Configuration Commands; Display Ssh Client Source; Display Ssh Server-Info - HP A5500 EI Command Reference Manual

Hide thumbs Also See for A5500 EI:
Table of Contents

Advertisement

Related commands: display ssh user-information.
Examples
# Create an SSH user named user1, setting the service type as sftp, the authentication method as
publickey, the working directory of the SFTP server as flash:, and assigning a public key named key1 to
the user.
<Sysname> system-view
[Sysname] ssh user user1 service-type sftp authentication-type publickey assign publickey
key1 work-directory flash:

SSH2.0 client configuration commands

display ssh client source

Syntax
display ssh client source [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see the Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use the display ssh client source command to display the source IP address or source interface currently
set for the SSH client.
If neither source IP address nor source interface is specified for the SSH client, the system displays the
message ―Neither source IP address nor source interface was specified for the STelnet client.‖
Related commands: ssh client source.
Examples
# Display the source IP address or source interface of the SSH client.
<Sysname> display ssh client source
The source IP address you specified is 192.168.0.1

display ssh server-info

Syntax
display ssh server-info [ | { begin | exclude | include } regular-expression ]
271

Advertisement

Table of Contents
loading

This manual is also suitable for:

A5500 si

Table of Contents