Modify ssh settings, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual
Page 101: Interface uri access method
Modify SSH Settings
Modify SSH settings for a device based on device ID.
Interface URI
/plat/res/device/{id}/updateSsh
Access Method
HTTP
PUT
Parameters
Path parameter
Device ID.
id
Long integer type. Required. No default value.
Message body
or
Element description
device sub-elements
SSH settings.
sshParameter
Element type. See the following description.
SSH template ID.
sshTmplId
Integer type. If both sshTmplId and sshParameter exist, sshParameter is preferred, and sshTmplId is
omitted.
sshParameter sub-elements
Authentication mode. 0: Password authentication. 3: Key authentication + super password. Integer
type. Optional. If the element does not exist, the value is not changed. If the element exists, the value
cannot be null.
authType
Username.
userName
String type. Optional. If the element does not exist, the value is not changed. If the element exists,
the value cannot be null.
Password.
password
Modify SSH Settings
101