SSH configuration

Update the SSH keys for each device in the system. SSH keys are set for the localadmin account.

Request

HTTP method

POST /manager/api/{apiResponseType}/1.0/securitySshConfiguration.adm HTTP/1.1 Host:{manager.dsnet} currentPasswordRequired={true/false}

Curl method

The sshKey needs to be URL safe. For instance, spaces would be %20 instead.

curl -X POST -u {admin}:{password} "https://{manager.dsnet}/manager/api/{apiResponseType}/1.0/securitySshConfiguration.adm" -d 'currentPasswordRequired={true/false}'

Parameters

Table 1. Request parameters for SSH Configuration (securitySshConfiguration) API method
Parameter Type Usage Default Description
currentPasswordRequired Boolean Required  True If currentPasswordRequired field is true, oldPassword field in change device password API is required to change device password