mirror of
https://github.com/Telecominfraproject/ols-ucentral-schema.git
synced 2026-01-27 10:21:47 +00:00
Extend schema to support enabling or disabling completely specified services (ssh,telnet) Signed-off-by: Oleksandr Mazur <oleksandr.mazur@plvision.eu>
32 lines
1.3 KiB
YAML
32 lines
1.3 KiB
YAML
description:
|
|
This section can be used to setup a SSH server on the AP.
|
|
type: object
|
|
properties:
|
|
port:
|
|
description:
|
|
This option defines which port the SSH server shall be available on.
|
|
type: integer
|
|
maximum: 65535
|
|
default: 22
|
|
authorized-keys:
|
|
description:
|
|
This allows the upload of public ssh keys. Keys need to be seperated by a
|
|
newline.
|
|
type: array
|
|
items:
|
|
type: string
|
|
examples:
|
|
- 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQC0ghdSd2D2y08TFowZLMZn3x1/Djw3BkNsIeHt/Z+RaXwvfV1NQAnNdaOngMT/3uf5jZtYxhpl+dbZtRhoUPRvKflKBeFHYBqjZVzD3r4ns2Ofm2UpHlbdOpMuy9oeTSCeF0IKZZ6szpkvSirQogeP2fe9KRkzQpiza6YxxaJlWw== user@example'
|
|
- 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ4FDjyCsg+1Mh2C5G7ibR3z0Kw1dU57kfXebLRwS6CL bob@work'
|
|
- 'ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBP/JpJ/KHtKKImzISBDwLO0/EwytIr4pGZQXcP6GCSHchLMyfjf147KNlF9gC+3FibzqKH02EiQspVhRgfuK6y0= alice@home'
|
|
password-authentication:
|
|
description:
|
|
This option defines if password authentication shall be enabled. If set
|
|
to false, only ssh key based authentication is possible.
|
|
type: boolean
|
|
default: true
|
|
enable:
|
|
description:
|
|
This option whether SSH server should be enabled or disabled.
|
|
type: boolean
|