Displaying And Maintaining Ssh Configuration; Comparison Of Ssh Commands With The Same Functions - H3C S5100-SI Operation Manual

Ethernet switches
Hide thumbs Also See for H3C S5100-SI:
Table of Contents

Advertisement

When logging into the SSH server using public key authentication, an SSH client needs to read its local
private key for authentication. As two algorithms (RSA or DSA) are available, the identity-key keyword
must be used to specify one algorithm in order to get the correct private key.

Displaying and Maintaining SSH Configuration

To do...
Display the public key
information of the current
switch's key pairs
Display information about
locally saved public keys of
SSH peers
Display information about SSH
status and about sessions of
active connections with SSH
clients
Display information about all
SSH users
Display the current source IP
address or the IP address of
the source interface specified
for the SSH server.
Display the mappings between
host public keys and SSH
servers saved on a client
Display the current source IP
address or the IP address of
the source interface specified
for the SSH Client.

Comparison of SSH Commands with the Same Functions

After the SSH protocol supports the DSA asymmetric key algorithm, some SSH configuration
commands are changed. For the sake of SSH configuration compatibility, the original commands are
still supported.
Table 1-18
Table 1-18 List of SSH configuration commands with the same functions
Operation
Display local RSA public
keys
Display information about
the peer RSA public keys
Use the command...
display public-key local { dsa | rsa }
public
display public-key peer [ brief | name
pubkey-name ]
display ssh server { session | status }
display ssh user-information
[ username ]
display ssh-server source-ip
display ssh server-info
display ssh2 source-ip
lists both the original commands and current commands.
Original commands
display rsa local-key-pair public
display rsa peer-public-key
[ brief | name keyname ]
1-23
Remarks
Available in any view
Current commands
display public-key local rsa
public
display public-key peer [ brief |
name pubkey-name ]

Advertisement

Table of Contents
loading

This manual is also suitable for:

H3c s5100-ei

Table of Contents