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

PATCH /api/lunasa/ssh

This resource updates SSH server configuration.

Parameters

isPasswordAuthenticationEnabled

This parameter enables password authentication.

Use: Not Required

JSON Schema:

    Object
    type:boolean

isKeyAuthenticationEnabled

This parameter enables public key authentication.

Use: Not Required

JSON Schema:

    Object
    type:boolean

port

This parameter specifies the SSH server port.

Use: Not Required

JSON Schema:

    Object
    type:integer

networkDevices

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

Use: Not Required

JSON Schema:

    Object
    type: array
        networkDevice: Object
            type: string

Responses

204

Success

400

Unexpected failure

Example Request

    PATCH
    https://1.2.3.4:8443/api/lunasa/ssh
{
    "port": 22
}

Example Response

{
}