beautypg.com

Configuring the user interfaces for ssh clients, Configuring a client public key – H3C Technologies H3C S7500E Series Switches User Manual

Page 210

background image

11-6

To do…

Use the command…

Remarks

Enter system view

system-view

Enable the SSH server function

ssh server enable

Required

Disabled by default

Configuring the User Interfaces for SSH Clients

An SSH client accesses the device through a VTY user interface. Therefore, you need to configure the

user interfaces for SSH clients to allow SSH login. Note that the configuration takes effect only for

clients logging in after the configuration.

Follow these steps to configure the protocols for the current user interface to support:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter user interface view of one or

more user interfaces

user-interface vty number

[ ending-number ]

Set the login authentication mode

to scheme

authentication-mode scheme

Required

By default, the authentication

mode is password.

Configure the user interface(s) to

support SSH login

protocol inbound { all | ssh }

Optional

All protocols are supported by

default.

z

For more information about the authentication-mode and protocol inbound commands, see

Logging In to the Switch Commands in the Fundamentals Command Reference.

z

If you configure a user interface to support SSH, be sure to configure the corresponding

authentication mode with the authentication-mode scheme command.

z

For a user interface configured to support SSH, you cannot change the authentication mode. To

change the authentication mode, undo the SSH support configuration first.

Configuring a Client Public Key