3Com Switch 7750 Configuration Guide Guide
SSH Terminal Services 721
Configuring client public keys
You can configure RSA public keys for client users on the switch and specify RSA
private keys, which correspond to the public keys, on the client. Then client keys
are generated randomly by the SSHv2.0 client software. This operation is not
required for password authentication type.
On the other hand, you can import the RSA public key of an SSH user from the
public key file. When the rsa peer-public-key keyname import sshkey filename
command is executed, the system will transform the format of the public key file
created on the client software into the public key cryptography standards (PKCS)
format and configure the client public key automatically. Before the configuration
above, the client must upload the public key file of the RSA key to the server by
using FTP/TFTP.
Set SSH server compatible
with SSHv1.x client
ssh server
compatible-ssh1x enable
Optional
By default, SSH server is
compatible with SSHv1.x
client.
Table 555 Configure client public keys
Operation Command Description
Enter system view system-view -
Enter public key view
rsa peer-public-key
key-name
Required
Enter public key edit view public-key-code begin
You can key in a blank space
between characters, since the
system can remove the blank
space automatically. But the
public key should be
composed of hexadecimal
characters.
Return to public key view
from public key edit view
public-key-code end
The system saves public key
data when exiting from public
key edit view
Return to system view from
public key view
peer-public-key end -
Allocate public keys to SSH
users
ssh user username assign
rsa-key keyname
Required
Keyname is the name of an
existing public key. If the user
already has a public key, the
new public key overrides the
old one.
Table 556 Import the RSA public key of an SSH user from the public key file
Operation Command Description
Enter system view system-view -
Import the RSA public key of
an SSH user from the public
key file
rsa peer-public-key
keyname import sshkey
filename
Required
Table 554 Configure server SSH attributes
Operation Command Description