Get device SSH settings
unifi_get_device_ssh_settingsRead a site's device SSH authentication settings to check SSH status, password acceptance, wildcard binding, and installed key count without returning credentials or keys.
Instructions
Read the site's device SSH settings (Device SSH Authentication for adopted UniFi devices) from the classic controller API (get/setting) mgmt section: whether SSH is on, whether it accepts passwords, whether it listens on every interface (x_ssh_bind_wildcard), and how many SSH keys are installed. Credentials and keys are never returned. Console (UniFi OS) SSH is a separate UniFi OS setting this API does not expose. Which networks reach the console's web UI and SSH is set by firewall rules and policies, and from the internet by Remote Access and port forwards (unifi_list_port_forwards). status: unavailable means the controller's settings had no such fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteReference | Yes | Site internalReference from unifi_list_sites (often default), not the Integration API UUID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | Yes | ||
| status | Yes | ||
| sshKeyCount | Yes | ||
| siteReference | Yes | ||
| x_ssh_enabled | Yes | ||
| x_ssh_bind_wildcard | Yes | ||
| x_ssh_auth_password_enabled | Yes |