1-7
To configure the public key of an SSH client, you can:
z
Configure it manually: You can input or copy the public key to the local host. The copied public key
must have not been converted and be in the distinguished encoding rules (DER) encoding format.
z
Import it from the public key file: During the import process, the system will automatically convert
the public key to a string coded using the Public Key Cryptography Standards (PKCS). Before
importing the public key, you must upload the public key file (in binary) to the local host through
FTP or TFTP.
z
You are recommended to configure a client public key by importing it from a public key file.
z
You can configure at most 20 client pubic keys on an SSH server.
Configuring a client public key manually
Follow these steps to configure the client public key manually:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter public key view
public-key peer keyname
—
Enter public key code view
public-key-code begin
—
Configure a client public key
Enter the content of the public
key
Required
Spaces and carriage returns
are allowed between
characters.
Return from public key code
view to public key view
public-key-code end
—
When you exit public key code
view, the system automatically
saves the public key.
Return from public key view to
system view
peer-public-key
end
—
Importing a client public key from a public key file
Follow these steps to import a public key from a public key file:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Import the public key from a
public key file
public-key peer keyname
import sshkey
filename
Required
Summary of Contents for S7906E - Switch
Page 82: ...1 4 DeviceA interface tunnel 1 DeviceA Tunnel1 service loopback group 1...
Page 200: ...1 11 DeviceB display vlan dynamic No dynamic vlans exist...
Page 598: ...ii...
Page 1757: ...4 9...
Page 1770: ...6 4...
Page 2017: ...2 11 Figure 2 3 SFTP client interface...
Page 2238: ...1 16 DeviceA cfd linktrace service instance 1 mep 1001 target mep 4002...