You can use the GetSshInfo method to query the status of the SSH service on a single node.
This method has no input parameters.
This method has the following return value:
Name | Description | Type |
---|---|---|
result | The status of the SSH service for this node. | boolean |
Requests for this method are similar to the following example:
{ "method" : "GetSshInfo", "params" : {}, "id" : 1 }
This method returns a response similar to the following example:
{ "id": 1, "result": { "enabled": false } }