H3C Technologies H3C S7500E Series Switches User Manual

Page 67

Advertising
background image

3-28

To do…

Use the command…

Remarks

Enter one or more VTY user

interface views

user-interface vty first-number

[ last-number ]

Specify the scheme authentication

mode

authentication-mode scheme

Required

By default, authentication mode for

VTY user interfaces is password.

Enable the current user interface

to support either Telnet, SSH, or

both of them

protocol inbound { all | ssh }

Optional

By default, both protocols are

supported.

Create a local user and enter local

user view

local-user user-name

Required

By default, no local user exists.

Set the local password

password { cipher | simple }

password

Required

By default, no local password is

set.

Specifies the command level of the

local user

authorization-attribute level level

Optional

By default, the command level is 0.

Specify the service type for the

local user

service-type ssh

Required

By default, no service type is

specified.

Return to system view

quit

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 }

Required

By default, no SSH user exists,

and no authentication mode is

specified.

Configure common settings for

VTY user interfaces

Optional

See

Configuring Common Settings

for VTY User Interfaces (Optional)

.

For more information about SSH, see SSH2.0 Configuration in the Security Configuration Guide.

Advertising