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

Hide thumbs Also See for S5600 SERIES:
Table of Contents

Advertisement

Displaying and Maintaining SSH Configuration

Display the public key part of the current
switch's key pairs
Display information about locally saved
public keys of SSH peers
Display SSH status and session information
Display SSH user information
Display the current source IP address or the
IP address of the source interface specified
for the SSH server.
Display the current source IP address
specified for the SSH Client.
Display the mappings between host public
keys and SSH servers saved on a 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-19
Table 1-19 List of SSH configuration commands with the same functions
Operation
Display local RSA public
key(s)
Display information about
the peer RSA public keys
Generate a RSA key pair
Destroy a RSA key pair
Enter public key view
Import RSA public key from
public key file
Specify publickey
authentication as the
default authentication type
Specify on the client the
host public key of the
server to be connected
Assign a public key to an
SSH user
To do...
lists both the original commands and current commands.
Original commands
display rsa local-key-pair public
display rsa peer-public-key
[ brief | name keyname ]
rsa local-key-pair create
rsa local-key-pair destroy
rsa peer-public-key keyname
rsa peer-public-key keyname
import sshkey filename
ssh authentication-type default
rsa
ssh client { server-ip |
server-name } assign rsa-key
keyname
ssh user username assign
rsa-key keyname
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 ssh2 source-ip
display ssh server-info
display public-key local rsa
public
display public-key peer [ brief |
name pubkey-name ]
public-key local create rsa
public-key local destroy rsa
public-key peer keyname
public-key peer keyname
import sshkey filename
ssh authentication-type
default publickey
ssh client { server-ip |
server-name } assign publickey
keyname
ssh user username assign
publickey keyname
1-21
Remarks
Available in
any view
Current commands

Advertisement

Table of Contents
loading

Table of Contents