3Com Switch 8800 Advanced Software V5 Configuration Guide

Configuring the SSH Client 949
n
The private key has a .ppk extension the public key as a .pub extension.
Importing the Client
Public Key Using
Method One
This section describes how to import the client public key to the Switch 8800 file
system using FTP.
1 Enable the FTP server on the Switch 8800 from the system view as follows:
<SW8800>sys
System View: return to User View with Ctrl+Z.
[SW8800]ftp server enable
% FTP server has been started
[SW8800]
2 Create an FTP user on the SW8800 so that the client can FTP to the Switch 8800
and transfer the public key.
[SW8800]local-user ftp
New local user added.
[SW8800-luser-ftp]password ?
cipher Display password with cipher text
simple Display password with plain text
[SW8800-luser-ftp]password simple ftp
[SW8800-luser-ftp]level 3
[SW8800-luser-ftp]service-type ftp
[SW8800-luser-ftp]q
[SW8800]
3 From the client PC where the key is stored, FTP to the Switch 8800. This example
uses ftp from a command (or MS-DOS) window. Change to the directory where
the key resides. The IP address of the SW8800 is 158.101.23.252.
C:\SSH\keys>
C:\SSH\keys>ftp 158.101.23.252
Connected to 158.101.23.252.
220 FTP service ready.
User (158.101.23.252:(none)): ftp
331 Password required for ftp.
Password: (the password for ftp user, will not be displayed)
230 User logged in.
ftp> bin
200 Type set to I.
ftp> put aaa.pub
200 Port command okay.
150 Opening BINARY mode data connection for aaa.pub.
226 Transfer complete.
ftp: 294 bytes sent in 0.00Seconds 294000.00Kbytes/sec.
ftp> bye
221 Server closing.
C:\SSH\keys>
4 Return to the Switch 8800:
[SW8800]rsa peer-public-key SWSW8800002 import sshkey aaa.pub
The public key is successfully imported from the file.