when entering key data but they will be deleted by the system. The configured public
key must be a consecutive hexadecimal character string coded in the public key
format. Execute the public-key-code end command to stop public key editing and
save the key. Before you save the key however, you should verify the validity of the
key in case the key data are rendered useless due to illegal characters contained in
the public key string.
Perform the following configuration in public-key view.
Table 3-8 Start/Stop public key editing
Operation Command
Access the public key edit view
public-key-code begin
Stop public key editing and exit
the public key edit view
public-key-code end
Public key is generated by the Client software supporting SSH1.5 lower.
Perform the following configuration in public key edit view.
Table 3-9 Edit a public key
Operation Command
Input the public key data
hex hex-data
IV. Assign a Public Key to an SSH User
Perform this task to assign a public key that has been configured to an SSH user.
Perform the following configuration in system view.
Table 3-10 Assign a public key to an SSH user
Operation Command
Assign a public key to an SSH user
ssh user username
assign rsa-key
keyname
Remove the association between the
user and the public key
undo ssh user username
assign rsa-key
V. Close an SSH Process by Force
A system administrator can disconnect the connections of all the SSH login users by
force by executing the kill command on the console interface, or close by force the
SSH process of a specified SSH login user found by executing the display
local-user online command.
3Com Router Configuration Guide Addendum for V1.20
32