3Com Switch 8800 Configuration Guide
Chapter 50 SSH Terminal Service
50-15
Note:
You can use the default values for SSH authentication timeout and retries. After
completing the above configurations, you can run the SSH 2.0-enabled client software
on any other terminal connected with the switch and access the switch with the
username client001 and password 3Com.
z
RSA public key authentication.
Create the local user client001, and set the authentication mode of the user interface to
AAA.
[SW8800] user-interface vty 0 4
[SW8800-ui-vty0-4] authentication-mode scheme
Specify the login protocol for user client002 as SSH.
[SW8800-ui-vty0-4] protocol inbound ssh
Set the authentication mode for the remote user on the switch to publickey.
[SW8800] ssh user client002 authentication-type publickey
Using the SSH 2.0-enabled client software, randomly generate an RSA key pair and
send the public key to the server.
Configure the public key of the client. Refer to Generating the Client Public Key for
details.
[SW8800] rsa peer-public-key SW8800002
[SW8800-rsa-public-key] public-key-code begin
[SW8800-rsa-key-code] 308186028180739A291ABDA704F5D93DC8FDF84C427463
[SW8800-rsa-key-code] 1991C164B0DF178C55FA833591C7D47D5381D09CE82913
[SW8800-rsa-key-code] D7EDF9C08511D83CA4ED2B30B809808EB0D1F52D045DE4
[SW8800-rsa-key-code] 0861B74A0E135523CCD74CAC61F8E58C452B2F3F2DA0DC
[SW8800-rsa-key-code] C48E3306367FE187BDD944018B3B69F3CBB0A573202C16
[SW8800-rsa-key-code] BB2FC1ACF3EC8F828D55A36F1CDDC4BB45504F020125
[SW8800-rsa-key-code] public-key-code end
[SW8800-rsa-public-key] peer-public-key end
[SW8800]
#Allocate an existent public key SW8800002 to user client002.
[SW8800] ssh user client002 assign rsa-key SW8800002
Start the SSH client software on the terminal preserving the RSA private key, and
perform the corresponding configurations to establish the SSH connection.