Operation Manual – SSH Terminal Service
H3C S3600 Series Ethernet Switches-Release 1510 Chapter 1
SSH Terminal Service
1-21
Operation Command Description
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 |
server-name } assign
rsa-key keyname
Required
Connect the SSH client to
the SSH server, and
specify the preferred key
exchange algorithm, the
preferred encryption
algorithm and the
preferred HMAC
algorithm for the SSH
client and the 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
III. Specifying a source IP address/interface for the SSH client
You can perform the following configuration to specify a source IP address or a source
interface for the SSH2.0 client, thus enhancing traffic manageability.
Table 1-12 Specify a source IP address/interface for the SSH client
Operation Command Description
Enter system view
system-view
—
Specify a source IP address
for the SSH2.0 client.
ssh2 source-ip ip-address
Optional
Specify a source interface
for the SSH2.0 client
ssh2 source-interface
interface-type interface-number
Optional
1.1.5 Displaying SSH Configuration
After the above configuration, you can execute the display command in any view to
display the configuration information and running status of SSH, so as to verify your
configuration.