Skip to content

ssh

Description

Configure SSH status.

Read/write properties

enable<Boolean>

Enable/Disable SSH.. Possible values = [true,false]

Read only properties

status<Boolean>

Current status of SSH daemon..

Operations

NOTE: In request payload, Mandatory parameters are marked red and bold.

Get

URL: http://<CBIP>/cb/nitro/v1/config/ssh

HTTP Method: GET

Response Payload: JSON

{ "ssh":{
      "enable":<Boolean_value>,
      "status":<Boolean_value>}}

Modify

URL: http://<CBIP>/cb/nitro/v1/config/ssh

HTTP Method: PUT

Request Payload: JSON

{"ssh":{
      "enable":<Boolean_value>}}

Response Payload: JSON

{ "ssh":{
      "enable":<Boolean_value>,
      "status":<Boolean_value>}}