3Com Switch 7750 Configuration Guide Guide
722 CHAPTER 67: SSH TERMINAL SERVICES
SSH Client Configuration Configuration prerequisites
Make sure that the SSH server is configured. Refer to “SSH Server Configuration”
for configuration details.
Configure the device as an SSH client
When a device operating as an SSH client connects to the server, you can specify
whether the SSH client performs first authentication for the SSH server to be
accessed.
■ With first authentication enabled, when the SSH client accesses the SSH server
for the first time, the user can continue to access the SSH server and the host
public key will be saved on the client even if the server host public key is not
configured on the client. When the SSH client accesses the SSH server next
time, the SSH client uses the host public key saved on it to authenticate the
SSH server.
■ If first authentication is not supported, the SSH client can not access the SSH
server if the server host public key is not configured on the client. Before
configuring a device as an SSH client, you need to configure the host public key
of the server to be accessed on the local device and specify the name of the
host public key file of the server to be accessed. Thus, the SSH client can
authenticate the SSH server to be accessed.
Tabl e 557 Configure a device as an SSH client
Operation Command Description
Enter system view system-view -
Disable the SSH client from
performing first
authentication for the SSH
server to be accessed
undo ssh client first-time
Optional
By default, the SSH client
performs first authentication.
Enter public key view
rsa peer-public-key
keyname
Optional
Enter public key edit view public-key-code begin -
Configure the public key for
the server
Iput the public key directly
-
The input public key string
can contain spaces and
enters. The public key to be
configured must be a
hexadecimal string coded in
the public format.
Quit to public key view public-key-code end
-
The input public keys are
saved when you quit the
public key edit view.
Quit to system view peer-public-key end -
Specify the name of the host
public key of the SSH server to
be accessed on the SSH client
ssh client server-ip assign
rsa-key keyname
Optional