Operation Manual – SSH Terminal Service
H3C S3600 Series Ethernet Switches-Release 1510 Chapter 1
SSH Terminal Service
1-20
I. configure the device as an SSH client that supports first authentication
Table 1-10 Configure the device as an SSH client that supports first authentication
Operation Command Description
Enter system view
system-view
—
Enable the client to
run initial
authentication
ssh client first-time enable
Optional
By default, the client is
enabled to run initial
authentication.
Start the client to
establish a
connection with an
SSH server
ssh2 { host-ip | host-name }
[ port-num ] [ prefer_kex
{ dh_group1 |
dh_exchange_group } |
prefer_ctos_cipher { des |
aes128 } | prefer_stoc_cipher
{ des | aes128 } |
prefer_ctos_hmac { sha1 |
sha1_96 | md5 | md5_96 } |
prefer_stoc_hmac { sha1 |
sha1_96 | md5 | md5_96 } ] *
Required
In this command, you can
also specify the preferred
key exchange algorithm,
encryption algorithms and
HMAC algorithms
between the server and
client.
HMAC: Hash-based
message authentication
code
II. configure the device as an SSH client that does not support first
authentication
Table 1-11 Configure the device as an SSH client that does not support first
authentication
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
Required
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
Input 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.