1118 CHAPTER 88: SSH CONFIGURATION
Displaying and
Maintaining SSH
To do…
Use the
command… Remarks
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 IPv4
server, and specify the preferred
key exchange algorithm,
encryption algorithms, and
HMAC algorithms for them
ssh2 server
[ port-number ]
[ identity-key
{ dsa | rsa } |
prefer-ctos-ciphe
r { aes128 | des } |
prefer-ctos-hmac
{ md5 | md5-96 |
sha1 | sha1-96 } |
prefer-kex
{ dh-group-exch
ange |
dh-group1 |
dh-group14 } |
prefer-stoc-ciphe
r { aes128 | des } |
prefer-stoc-hmac
{ md5 | md5-96 |
sha1 | sha1-96 }]
*
Required
Use either
command in user
view.
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 ]
[ identity-key
{ dsa | rsa } |
prefer-ctos-ciphe
r { aes128 | des } |
prefer-ctos-hmac
{ md5 | md5-96 |
sha1 | sha1-96 } |
prefer-kex
{ dh-group-exch
ange |
dh-group1 |
dh-group14 } |
prefer-stoc-ciphe
r { aes128 | des } |
prefer-stoc-hmac
{ md5 | md5-96 |
sha1 | sha1-96 }]
*
To do… Use the command… Remarks
Display information about the public
keys of the local key pair
display public-key local
{ dsa | 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