3Com Switch 8800 Advanced Software V5 Configuration Guide
[Switch-rsa-ke
y-code]
public
-key-code
end
[Switch-rsa-public-key] peer-public-key end
# If the server stores the public key of the client through a file named
"Switch001", you can import the public key directly from the file.
[Switch] rsa peer-public-key Switch001 import sshkey Switch001
# Specify the public key "Switch001" for the user "client001".
[Switch] ssh user client001 assign rsa-key Switch001
For RSA authentication, you need to configure the IP address, protocol type, and
protocol version of the SSH server on the client, and to specify an RSA private key
file (generated by the client software at random). Launch the SSH connection, and
enter a username and password as prompted. Then, you can enter the
configuration interface of the switch.
login as: client001
Authenticating with public key "rsa-key-20061023"
*********************************************************
*All rights reserved (2004-2006) *
*Without the owner’s prior written consent, *
*no decompiling or reverse-switch fabricering shall be allowed.*
*********************************************************
<Switch>
SSH Client
Configuration
Examples
Network Requirements As shown in Figure 293, configure Switch A as a client, and configure Switch A to
log into Switch B through SSH. For the SSH client, the username is "client001",
and the password is "aabbccddeeff".
Network Diagram Figure 293 SSH client configuration
Configuration
1 Configure Switch B
# Generate an RSA host key pair and server key pair, and enable the SSH server.
SSH server SSH client
Switch B Switch A
Vlan-int1
10.165.87.136/24
Vlan-int1
10.165.87.137/24