3Com Switch 8800 Configuration Guide
Chapter 50 SSH Terminal Service
50-12
50.1.3 SSH Client Configuration
The following sections describe the SSH client configuration tasks.
z
Set to perform the first-time authentication on the SSH server to be accessed
z
Specifying the public key of the server
z
Configuring the first-time authentication of the server
I. Starting the SSH client
Use this configuration task to enable the the SSH client, establish the connection with
the server, and carry out interactive session.
Perform the following configuration in system view.
Table 50-14
Start the SSH client
Operation
Command
Start the SSH client
ssh2
{
host
-
ip
|
host
-
name
} [
port
-
num
]
[
prefer_kex
{
dh_group1
|
dh_exchange_group
} ]
[
prefer_ctos_cipher
{
des
|
3des
|
aes128
} ]
[
prefer_stoc_cipher
{
des
|
3des
|
aes128
} ]
[
prefer_ctos_hmac
{
sha1
|
sha1_96
|
md5
|
md5_96
} ]
[
prefer_stoc_hmac
{
sha1
|
sha1_96
|
md5
|
md5_96
} ]
II. Specifying the public key of the server
Use this configuration task to allocate a existent public key to the client.
Perform the following configuration in system view.
Table 50-15
Specify the public key of the server
Operation
Command
Specify the public key of the server
ssh client server
-
ip
assign rsa-key
keyname
Cancel the corresponding relationship
between the server and the public key
undo ssh client
server
-
ip
assign
rsa-key
III. Configuring the first-time authentication of the server
Use this configuration task to configure or cancel the first-time authentication of the
server performed by the SSH client.
The first-time authentication means that when the SSH client accesses the server for
the first time in the case that there is no local copy of the server’s public key, the user
can choose to proceed to access the server and save a local copy of the server’s public
key; when the client accesses the server next time, it uses the saved public key to
authenticate the server.