/config/ssh/details/allow/from

The nodes below this one perform the functions described in this function overview.

Use

Permit SSH access from the specified IP address or network.

Data Type

subtree

Request Methods

GET

Examples

GET

curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/config/ssh/details/allow/from

GET Response

{"/config/ssh/details/allow/from": {"data": None,
                                     "default": False,
                                     "defaultAllowed": False,
                                     "deleteAllowed": False,
                                     "numChildren": 1,
                                     "type": "subtree"},
 "httpResponseCode": 200,
 "recurse": False,
 "requestPath": "/config/ssh/details/allow/from"}

GET (list children)

curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/config/ssh/details/allow/from?op=list

GET Response

{"/config/ssh/details/allow/from": {"children": {"/config/ssh/details/allow/from/any": {"default": False,
                                                                                           "defaultAllowed": False,
                                                                                           "deleteAllowed": True,
                                                                                           "numChildren": 0,
                                                                                           "type": "string"}},
                                     "default": False,
                                     "defaultAllowed": False,
                                     "deleteAllowed": False,
                                     "numChildren": 1,
                                     "type": "subtree"},
 "httpResponseCode": 200,
 "recurse": False,
 "requestPath": "/config/ssh/details/allow/from"}

GET (recursively list children)

curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/config/ssh/details/allow/from?level=recurse

  1. /config/ssh/details/allow/from 1. 1. Data Type 2. Request Methods 3. Related 4. Examples