beautypg.com

Displaying and maintaining cli login – H3C Technologies H3C SecPath F1000-E User Manual

Page 39

background image

31

Step Command

Remarks

17.

Create an SSH user, and
specify the authentication

mode for the SSH user.

ssh user username service-type
stelnet authentication-type
{ password | { any |

password-publickey | publickey }

assign publickey keyname }

By default, no SSH user exists, and
no authentication mode is

specified.

18.

Configure common settings

for VTY user interfaces.

See "

Configuring common VTY

user interface settings (optional)

."

Optional.

Using the device as an SSH client to log in to the SSH server

You can use the device as an SSH client to log in to an SSH server. If the server is located in a different

subnet than the device, make sure that the two devices have routes to reach each other.

Figure 21 Logging in to an SSH server from the firewall

Perform the following tasks as appropriate in user view:

Task Command

Remarks

Log in to an IPv4 SSH server.

ssh2 server

server is the IPv4 address or host
name of the server.

Log in to an IPv6 SSH server.

ssh2 ipv6 server

server is the IPv6 address or host
name of the server.

To work with the SSH server, you might need to configure the SSH client. For information about

configuring the SSH client, see System Management and Maintenance Configuration Guide.

Displaying and maintaining CLI login

Task Command

Remarks

Display information about the user
interfaces that are being used.

display users [ | { begin | exclude
| include } regular-expression ]

Available in any view.

Display information about all user
interfaces that the device supports.

display users all [ | { begin |
exclude | include }
regular-expression ]

Available in any view.

Display user interface information.

display user-interface [ num1 |
{ console | vty } num2 ]

[ summary ] [ | { begin | exclude |

include } regular-expression ]

Available in any view.

Display the configuration of the
device when it serves as a Telnet
client.

display telnet client configuration
[ | { begin | exclude | include }
regular-expression ]

Available in any view.