REST API  4.0.0
REST API for SafeNet Network HSMs
PUT /api/lunasa/ssh

PUT /api/lunasa/ssh

This resource updates SSH server configuration.

Parameters

isPasswordAuthenticationEnabled

This parameter enables password authentication.

Use: Required

JSON Schema:

    Object
    type:boolean

isKeyAuthenticationEnabled

This parameter enables public key authentication.

Use: Required

JSON Schema:

    Object
    type:boolean

port

This parameter specifies the SSH server port.

Use: Required

JSON Schema:

    Object
    type:integer

networkDevices

This parameter specifies the list of network devices to use for the SSH server.

Use: Required

JSON Schema:

    Object
    type: array
        networkDevice: Object
            type: string

Responses

204

Success

400

Unexpected failure

Example Request

    PUT
    https://1.2.3.4:8443/api/lunasa/ssh
{
    "port": 22, 
    "isKeyAuthenticationEnabled": true, 
    "isPasswordAuthenticationEnabled": true, 
    "networkDevices": ["all"]
}

Example Response

{
}