H3C S7500 Series Ethernet Switches Release 3135 DHCP Configuration Examples

SSH Configuration Examples
H3C S7500 Series Ethernet Switches Release 3135 Chapter 2 SSH Configuration Commands
2-7
Operation Command Description
Configure server
public key
Enter the content of the public
key
When you input the key
data, spaces are allowed
between the characters
you input (because the
system can remove the
spaces automatically);
you can also press
<Enter> to continue your
input at the next line. But
the key you input should
be a hexadecimal digit
string coded in the public
key format.
Return to public key
view from public key
edit view
public-key-code end
When you exit public key
code view, the system
automatically saves the
public key
Exit public key view
and return to system
view
peer-public-key end
Specify the host key
name of the server
ssh client { server-ip |
server-name } assign
rsa-key keyname
Optional
Required when the SSH
client does not support
first-time authentication
You need to copy the
server public key to the
SSH client before
performing this
configuration.
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.