H3C S5100-SI Series Operation Manual page 684

Hide thumbs Also See for S5100-SI Series:
Table of Contents

Advertisement

Operation Manual – SSH
H3C S5100-SI/EI Series Ethernet Switches
Operation
Generate RSA key
pairs
Destroy RSA key pairs
Enter public key view
Import RSA public key
from public key file
Specify publickey
authentication as the
default authentication
type for all SSH clients
Specify on the client
the host public key of
the server to be
connected
Assign a public key to
an SSH user
Create an SSH user
and specify publickey
authentication as its
authentication type
Note:
After RSA key pairs are generated, the display rsa local-key-pair public
command displays two public keys (the host public key and server public key) when
the switch is working in SSH1-compatible mode, but only one public key (the host
public key) when the switch is working in SSH2 mode.
The results of the display rsa local-key-pair public command or the public key
converted with the SSHKEY tool contains no information such as the authentication
type, so they cannot be directly used as parameters in the public-key peer
command. For the same reason, neither can the results of the display public-key
local rsa public command be used in the rsa peer-public-key command directly.
Original commands
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
ssh user username
authentication-type rsa
1-30
Chapter 1 SSH Configuration
Current commands
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
ssh user username
authentication-type
publickey

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents