HP VPN Firewall Appliances System Management and Maintenance Command Reference

194
SSH commands
SSH server commands
display ssh server
Use the display ssh server command on an SSH server to display the SSH server status or sessions.
Syntax
display ssh server { session | status } [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
session: Displays the SSH server sessions.
status: Displays the SSH server status.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Getting Started 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.
Examples
# Display the SSH server status information.
<Sysname> display ssh server status
SSH Server: Disable
SSH version : 1.99
SSH authentication-timeout : 60 second(s)
SSH server key generating interval : 0 hour(s)
SSH Authentication retries : 3 time(s)
SFTP Server: Disable
SFTP Server Idle-Timeout: 10 minute(s)
Table 41 Command output
Field Descri
p
tion
SSH Server Whether the SSH server function is enabled.