POST SSH Servers Access
POST SSH Servers Access
The POST /SSH
The SSH (secure shell) protocol provides for secure connections between computers. It provides several options for authentication, including public key, and protects the communications with strong encryption./Servers/Access method is used to create a mapping of one or more Linux logons to Keyfactor Command users or service accounts for one or more SSH servers. This method returns HTTP 200 OK on a success with details of the logons and associated users, if applicable, for the specified SSH server(s).
SSH actions are affected by ownership on the server group
Table 520: POST SSH Servers Access Input Parameters
| Name | In | Description |
|---|---|---|
| ServerId | Body | Required. The Keyfactor Command reference ID for the SSH server. |
| LogonUsers | Body |
Required. An array containing information for the Linux logon(s) to update. For example: "LogonUsers": [
{
"LogonName": "johns",
"Users": [
"KEYEXAMPLE\\jsmith"
]
}
]
|
Table 521: POST SSH Servers Access Response Data
| Name | Description |
|---|---|
| ServerId | An integer indicating the Keyfactor Command reference ID for the SSH server. |
| LogonUsers |
An array containing information for the Linux logons from the Linux server that have been stored in Keyfactor Command. |