H3C LS-5100-16P-SI-OVS-H3 Configuration page 75

Low-end ethernet switches
Table of Contents

Advertisement

SSH
H3C Low-End Ethernet Switches Configuration Examples
Operation
Configure the client
RSA public key
Return from public
key code view to
public key view
Return from public
key view to system
view
Assign a public key to
an SSH user
Note:
For general configuration commands, refer toTable 2-2.
IV. Importing the client RSA public key
Table 2-5 Import the client RSA public key
Operation
Create an SSH user
and
authentication type
Enter the content of the RSA
public key
public-key-code end
peer-public-key end
ssh user username assign
rsa-key keyname
Specify
default
authentication
type
SSH users
specify
an
Create
SSH
and specify an
authentication
type for it
Chapter 2 SSH Configuration Commands
Command
Command
ssh
the
authenticatio
n-type
default rsa
for
all
ssh
user
username
an
ssh
user
user,
username
authenticatio
n-type rsa
2-5
Description
The content must be a
hexadecimal string that
is generated randomly by
the SSH-supported client
software
and
coded
compliant
to
PKCS.
Spaces
and
carriage
returns
are
allowed
between characters.
When you exit public key
code view, the system
automatically saves the
public key.
Required
If
you
issue
command multiple times,
the
last
command
overrides the previous
ones
Description
Use either command.
By default, no SSH user
is
created
and
authentication
type
specified.
Note
that:
If
both
commands are used and
different
authentication
types are specified, the
authentication
type
specified with the ssh
user
authentication-type
command
takes
precedence.
this
no
is

Advertisement

Table of Contents
loading

Table of Contents