To do...
preferred HMAC
algorithms and
preferred key
exchange algorithm
Displaying and Maintaining SSH
To do...
Display the source IP address or
interface currently set for the SFTP
client
Display the source IP address or
interface currently set for the SSH
client
Display SSH server status
information or session information
on an SSH server
Display the mappings between
SSH servers and their host public
keys saved on an SSH client
Display information about a
specified or all SSH users on the
SSH server
Display the public keys of the local
key pairs
Display the public keys of the SSH
peers
For information about the display public-key local and display public-key peer commands, refer to
Public Key Commands in the Security Volume.
SSH Server Configuration Examples
When Switch Acts as Server for Password Authentication
Network requirements
As shown in
and the switch (the SSH server) for secure data exchange.
Password authentication is required. The username and password are saved on the switch.
ssh2 ipv6 server [ port-number ] [ identity-key { dsa
| rsa } | prefer-ctos-cipher { aes128 | des } |
prefer-ctos-hmac { md5 | md5-96 | sha1 | sha1-96 }
For an IPv4
| prefer-kex { dh-group-exchange | dh-group1 |
IPv6 server
dh-group14 } | prefer-stoc-cipher { aes128 | des } |
prefer-stoc-hmac { md5 | md5-96 | sha1 |
sha1-96 } ] *
display sftp client source
display ssh client source
display ssh server { status |
session }
display ssh server-info
display ssh user-information
[ username ]
display public-key local { dsa |
rsa } public
display public-key peer [ brief |
name publickey-name ]
Figure
1-1, a local SSH connection is established between the host (the SSH client)
Use the command...
Use the command...
1-11
Remarks
Remarks
Available in any view
Available in any view
Available in any view
Available in any view
Available in any view
Available in any view
Available in any view