beautypg.com

Displaying and maintaining ssh, Ssh server configuration examples, Network requirements – H3C Technologies H3C S7500E Series Switches User Manual

Page 217

background image

11-13

Displaying and Maintaining SSH

To do…

Use the command…

Remarks

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 SSH server status

information or session information

on an SSH server

display ssh server { status |

session }

Available in any view

Display the mappings between

SSH servers and their host public

keys saved on an SSH client

display ssh server-info

Available in any view

Display information about a

specified or all SSH users on the

SSH server

display ssh user-information

[ username ]

Available in any view

Display the public keys of the local

key pairs

display public-key local { dsa |

rsa } public

Available in any view

Display the public keys of the SSH

peers

display public-key peer [ brief |

name publickey-name ]

Available in any view

For more information about the display public-key local and display public-key peer commands,

see Public Key Configuration Commands in the Security Command Reference.

SSH Server Configuration Examples

When Switch Acts as Server for Password Authentication

Network requirements

z

As shown in

Figure 11-4

, a local SSH connection is established between the host (the SSH client)

and the switch (the SSH server) for secure data exchange.

z

Password authentication is required. The username and password are saved on the switch.