Files
wlan-ucentral-schema/schema/service.ssh.yml
alex18_huang 4dd0904e17 SSH IdleTimeout can be configured from JSON config
Added support for ucentral config to specify ssh idle-timeout on device.

Fixes: WIFI-14532
Signed-off-by: alex18_huang <alex18_huang@accton.com>
2025-05-19 06:01:30 +02:00

35 lines
1.4 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
idle-timeout:
description:
This option defines the idle timeout of an ssh connection, set to 0 to disable
this feature. Default to 60 seconds if this field is not specified.
type: integer
default: 60
maximum: 600