Operation Manual – SSH
H3C S3610&S5510 Series Ethernet Switches
Chapter 1 SSH Configuration
1-14
To do...
Use the command…
Remarks
Establish a
connection between
the SSH client and
the IPv4 server, and
specify the preferred
key exchange
algorithm,
encryption
algorithms, and
HMAC algorithms
for them
ssh2
server
[
port-number
]
[
prefer-ctos-cipher
{
3des
|
aes128
|
des
} |
prefer-ctos-hmac
{
md5
|
md5-96
|
sha1
|
sha1-96
} |
prefer-kex
{
dh-group-exchange
|
dh-group1
|
dh-group14
} |
prefer-stoc-cipher
{
3des
|
aes128
|
des
} |
prefer-stoc-hmac
{
md5
|
md5-96
|
sha1
|
sha1-96
} ] *
Establish a
connection
between
the SSH
client and
the server,
and specify
the
preferred
key
exchange
algorithm,
encryption
algorithms,
and HMAC
algorithms
for them
Establish a
connection between
the SSH client and
the IPv6 server, and
specify the preferred
key exchange
algorithm,
encryption
algorithms, and
HMAC algorithms
for them
ssh2
ipv6
server
[
port-number
]
[
prefer-ctos-cipher
{
3des
|
aes128
|
des
} |
prefer-ctos-hmac
{
md5
|
md5-96
|
sha1
|
sha1-96
} |
prefer-kex
{
dh-group-exchange
|
dh-group1
|
dh-group14
} |
prefer-stoc-cipher
{
3des
|
aes128
|
des
} |
prefer-stoc-hmac
{
md5
|
md5-96
|
sha1
|
sha1-96
} ] *
Required
Use either
command in
user view.
1.4 Displaying and Maintaining SSH
To do…
Use the command…
Remarks
Display information about
the public keys of the local
key pair
display public-key local rsa
public
Available in any
view
Display information about
the public keys
display public-key peer
[
brief
|
name publickey-name
]
Available in any
view
Display the source IP
address or interface
currently set for the SFTP
client
display sftp client source
Available in any
view
Display the source IP
address or interface
currently set for the SSH
client
display ssh client source
Available in any
view
Display the status
information or session
information of an SSH
server
display ssh server
{
status
|
session
}
Available in any
view