getRootPasswordServerInstanceList
- Print
- PDF
getRootPasswordServerInstanceList
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Overview
Searching a server root account password Information
Description
Search a root account password using private key on your server(VM).
Request Parameters
Parameter Name | Requiredness | Type | Limitation | Description |
---|---|---|---|---|
rootPasswordServerInstance.serverInstanceNo | Yes | String | Server instance No. | |
rootPasswordServerInstance.privateKey | Yes | String | Login key that you applied when creating a server (It receives the storage path.) - Key values entered are not sent to the network. - ex) file://directory1/directory2/*.pem - ex) https://kr.objectstorage.ncloud.com/bucket/penguin.pem |
Response Data Type
- RootPasswordServerInstance Type
RootPasswordServerInstance extends CommonResponse |
---|
private String serverInstanceNo; |
private String rootPassword; |
Examples
Request
ncloud server getRootPasswordServerInstanceList --rootPasswordServerInstanceList "serverInstanceNo=886621, privateKey='file:///C:/Users/USER/Desktop/private/key/penguin-beta.pem'" "serverInstanceNo=886624, privateKey='file:///C:/Users/USER/Desktop/private/key/penguin-beta.pem'"
Response
{
"getRootPasswordServerInstanceListResponse": {
"requestId": "20bb8687-5f38-40be-bea3-03adab55f069",
"returnCode": "0",
"returnMessage": "success",
"totalRows": 2,
"rootPasswordServerInstanceList": [
{
"serverInstanceNo": "886621",
"rootPassword": "N2T!FH93*hd"
},
{
"serverInstanceNo": "886624",
"rootPassword": "R78D55h9J#"
}
]
}
}
<?xml version="1.0" encoding="UTF-8" ?>
<getRootPasswordServerInstanceListResponse>
<requestId>20bb8687-5f38-40be-bea3-03adab55f069</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>2</totalRows>
<rootPasswordServerInstanceList>
<serverInstanceNo>886621</serverInstanceNo>
<rootPassword>N2T!FH93*hd</rootPassword>
</rootPasswordServerInstanceList>
<rootPasswordServerInstanceList>
<serverInstanceNo>886624</serverInstanceNo>
<rootPassword>R78D55h9J#</rootPassword>
</rootPasswordServerInstanceList>
</getRootPasswordServerInstanceListResponse>
Was this article helpful?