3Com 4210 PWR Configuration Manual page 396

9/18/26 port and pwr 9/18/26 port 4210 series switch
Table of Contents

Advertisement

394
C
36: SSH C
HAPTER
Configuring the Client
Public Key on the Server
n
ONFIGURATION
For details of the header command, see the corresponding section in Login
Command.
This configuration is not necessary if the password authentication mode is
configured for SSH users.
With the publickey authentication mode configured for an SSH client, you must
configure the client's RSA or DSA host public key(s) on the server for
authentication.
You can manually configure the public key or import it from a public key file. In the
former case, you can manually copy the client's public key to the server. In the
latter case, the system automatically converts the format of the public key
generated by the client to complete the configuration on the server, but the
client's public key should be transferred from the client to the server beforehand
through FTP/TFTP.
Table 307 Configure the client's public key manually
Operation
Enter system view
Enter public key view
Enter public key edit view
Configure a public key for the
client
Return to public key view
from public key edit view
Exit public key view and
return to system view
Table 308 Import the public key from a public key file
Operation
Enter system view
Import the public key from a
public key file
You can also use the following commands to configure the client's RSA public key
on the server.
Command
system-view
public-key peer keyname
public-key-code begin
Enter the content of the
public key
public-key-code end
peer-public-key end
Command
system-view
public-key peer keyname
import sshkey filename
Description
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.
-
-
Description
-
Required

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents