You can use the GetClusterSshInfo method to query the status of the SSH service for the entire storage cluster.
This method has no input parameter.
This method has the following return value:
Name | Description | Type |
---|---|---|
result | A JSON object containing the status of the SSH service for the storage cluster, the time remaining until SSH is disabled, and the SSH service status for each node. | JSON object |
Requests for this method are similar to the following example:
{ "method": "GetClusterSshInfo", "params": {}, "id" : 1 }
This method returns a response similar to the following example:
{ "id": 1, "result" : { “enabled”: “true”, “timeRemaining”: "00:43:21", "nodes": [ { "nodeID": 1, "enabled": true }, { "nodeID": 2, "enabled": true }, { "nodeID": 3, "enabled": false }, { "nodeID": 4, "enabled": false } ] } }
10.3