< Home

Data Model

The configuration model files matching the SSH server are huawei-stelnet.yang and huawei-ssh-server.yang.

Table 1 Configuring the SSH server

Object

Description

Value

Remarks

/huawei-stelnet:server/enable

Enables the STelnet service.

The value is of the Boolean type:
  • true: enabled
  • false: disabled

N/A

/huawei-stelnet:client/first-time-enable

Enables the first authentication function on an SSH client.

The value is of the Boolean type:
  • true: enabled
  • false: disabled

N/A

/huawei-ssh-server:ssh-server/default-authentication-type

Indicates the SSH authentication type.

The value is of the enumerated type:
  • password: password authentication
  • none: The authentication type is not configured.

N/A

/huawei-ssh-server:ssh-server/user/name

Indicates the SSH user name.

The value is a string of 1 to 64 case-sensitive characters without spaces.

N/A

/huawei-ssh-server:ssh-server/user/authentication-type

Indicates the authentication mode of SSH users.

The value is of the enumerated type:

password: password authentication

N/A

/huawei-ssh-server:ssh-server/user/service-type

Indicates the service type of SSH users.

The value is of the enumerated type:

all: SFTP and STelnet service types

N/A

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >