Operation Manual – SSH Terminal Service
H3C S3600 Series Ethernet Switches-Release 1510 Chapter 1
SSH Terminal Service
1-10
Operation Command Description
Configure the client
public key
Enter the content of the
public key
Required
When you input the key data,
spaces are allowed between
the characters you input
(because the system can
remove the spaces
automatically); you can also
press <Enter> to continue your
input at the next line. But the
key you input should be a
hexadecimal digit string coded
in the public key format.
Return to public key
view from public key
edit view
public-key-code end
The system saves the public
key data you input when exiting
public key edit view.
Return to system
view from public key
view
peer-public-key end
—
Assign a client public
key to an SSH user
ssh user username
assign rsa-key
keyname
Required
Keyname is the name of an
existing public key. If the user
has already been assigned with
a public key, the newly
assigned public key overwrites
the old one.
Note:
z The above method requires you to transform the format of the public key on the
client, and then manually configure the transformed public key on the server. So, the
method is relatively more complex.
z If you use the ssh user username assign rsa-key command to assign an public
key for an inexistent SSH user, the system will create the SSH user automatically.
z When configuring the public key for a client manually, you can copy the local host
public key configuration on the client and then paste it to the server.
2) Automatic configuration
First, perform the following operations on a client:
z Use the SSH1.5/2.0 client software to randomly generate a RSA key pair.
z Use FTP/TFTP to transfer the corresponding public key file to the Flash memory of
the server.
Then, perform the following operations on the server: