![]() |
REST API
14
REST API for Luna Network HSMs
|
This resource updates SSH server configuration.
Users with the following role privileges can perform this command:
cipherList is the cipher suite the SSH service is to accept for the shell sessions being requested.
REST API accepts colon separated cipher list.
3des-cbc: blowfish-cbc: cast128-cbc: arcfour: arcfour128: arcfour256: aes128-cbc: aes192-cbc: aes256-cbc: rijndael-cbc@lysator.liu.se: aes128-ctr: aes192-ctr: aes256-ctr: aes128-gcm@openssh.com: aes256-gcm@openssh.com: chacha20-poly1305@openssh.com
Use: Not Required
JSON Schema:
Object type: string minLength: 1 maxLength: 1024 pattern: [a-zA-Z0-9.:@-]
This parameter enables password authentication.
Use: Not Required
JSON Schema:
Object type:boolean
This parameter enables public key authentication.
Use: Not Required
JSON Schema:
Object type:boolean
This parameter specifies the SSH server port.
Use: Not Required
JSON Schema:
Object type:integer
This parameter specifies the list of network devices to use for the SSH server.
Valid values: eth0,eth1,eth2,eth3,bond0,bond1,all.
Use: Not Required
JSON Schema:
Object type: array networkDevice: Object type: string
Success
Unable to set/update the provided ciphers.
Unable to perform operation.
PATCH https://1.2.3.4:8443/api/lunasa/ssh { "port": 22 }
{}