Query ssh template information, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual
Page 173: Returned result, Interface uri access method returned result

Query SSH Template Information
Query SSH template information based on device ID.
Interface URI
/plat/res/ssh/{id}
Access Method
HTTP
GET
Parameters
Path parameter
SSH template ID.
id
Long integer type. Required. No default value.
Returned Result
Status codes
•
200 (OK): Success.
Message body
<sshParamTemplate>
<id>101</id>
<type>2</type>
<name>101</name>
<authType>0</authType>
<authTypeStr>Password</authTypeStr>
<userName>admin</userName>
<password/>
<port>22</port>
<timeout>10</timeout>
<retries>3</retries>
<keyFileName/>
<keyPhrase/>
<superPassword/>
<link href="http://localhost:8080/imcrs/plat/res/ssh/101" op="GET" rel="self"/>
</sshParamTemplate>
Element description
sshParamTemplate sub-elements
SSH template ID.
id
Long integer type.
Parameter name.
name
String type.
Parameter type.
type
Integer type.
Authentication mode.
authType
Integer type.
Query SSH Template Information
173