Displaying And Maintaining Ssh; Ssh Server Configuration Examples - H3C S5120-HI Security Configuration Manual

Hide thumbs Also See for S5120-HI:
Table of Contents

Advertisement

To set the DSCP value for packets sent by the SSH client:
Step
1.
Enter system view.
2.
Set the DSCP value for
packets sent by the SSH client.

Displaying and maintaining SSH

Task
Display the source IP address or
interface set for the SFTP client.
Display the source IP address or
interface information on an SSH
client.
Display SSH server status
information or session information
on an SSH server.
Display the mappings between
SSH servers and their host public
keys on an SSH client.
Display information about SSH
users on an SSH server.
Display the public keys of the local
key pairs.
Display the public keys of the SSH
peers.
For more information about the display public-key local and display public-key peer commands, see
Security Command Reference.

SSH server configuration examples

Unless otherwise noted, devices in the configuration examples are operating in non-FIPS mode.
Command
system-view
Set the DSCP value for IPv4
packets sent by the SSH client:
ssh client dscp dscp-value
Set the DSCP value for IPv6
packets sent by the SSH client:
ssh client ipv6 dscp dscp-value
Command
display sftp client source [ | { begin
| exclude | include }
regular-expression ]
display ssh client source [ | { begin
| exclude | include }
regular-expression ]
display ssh server { status |
session } [ | { begin | exclude |
include } regular-expression ]
display ssh server-info [ | { begin |
exclude | include }
regular-expression ]
display ssh user-information
[ username ] [ | { begin | exclude |
include } regular-expression ]
display public-key local { dsa |
rsa } public [ | { begin | exclude |
include } regular-expression ]
display public-key peer [ brief |
name publickey-name ] [ | { begin
| exclude | include }
regular-expression ]
263
Remarks
N/A
Optional.
By default, the DSCP value is 16 in
IPv4 packets sent by the SSH client
and is 0 in IPv6 packets sent by the
SSH client.
Remarks
Available in any view
Available in any view
Available in any view
Available in any view
Available in any view
Available in any view
Available in any view

Advertisement

Table of Contents
loading

Table of Contents