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./Logons method is used to create a new Linux logon in Keyfactor Command and, for servers in inventory and publish policy mode, publish it out to a Linux server. The logon can optionally be associated with one or more SSH keys by mapping the logon to one or more users or service accounts during creation. This method returns HTTP 200 OK on a success with details for the new SSH logon.
 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./Logons method is used to create a new Linux logon in Keyfactor Command and, for servers in inventory and publish policy mode, publish it out to a Linux server. The logon can optionally be associated with one or more SSH keys by mapping the logon to one or more users or service accounts during creation. This method returns HTTP 200 OK on a success with details for the new SSH logon.
SSH actions are affected by ownership on the server group 
Table 670: POST SSH Logons Input Parameters
| Name | In | Description | 
|---|---|---|
| Username | Body | Required. A string indicating the user's logon name on the Linux server. | 
| ServerId | Body | Required. An integer indicating the Keyfactor Command reference ID of the server on which the SSH logon should be created. Use the GET /SSH/Servers method (see GET SSH Servers) to retrieve a list of all the SSH servers to determine the server's ID. | 
| UserIds | Body | An array of integers indicating the Keyfactor Command reference IDs for the users and/or service accounts with which the logon should be associated, provided in the following format: [4,7,19] See SSH in the Keyfactor Command Reference Guide for more information about users and service accounts. Use the GET /SSH/Users method (see GET SSH Users) to retrieve a list of all the users (including service accounts) created in Keyfactor Command to determine a user's ID. | 
Table 671: POST SSH Logons Response Data
| Name | Description | 
|---|---|
| ID | An integer indicating the Keyfactor Command reference ID for the SSH logon. | 
| Username | A string indicating the user's logon name on the Linux server. | 
| Server | An object containing details about the server on which the SSH logon resides.  | 
| KeyCount | An integer indicating the number of SSH keys associated with the Linux logons. | 
| Access | An array of objects providing information about the users mapped to the logon.  | 
 A set of functions to allow creation of applications. Keyfactor offers the Keyfactor API, which allows third-party software to integrate with the advanced certificate enrollment and management features of Keyfactor Command. endpoints can be called and results returned. It is intended to be used primarily for validation, testing and workflow
 A set of functions to allow creation of applications. Keyfactor offers the Keyfactor API, which allows third-party software to integrate with the advanced certificate enrollment and management features of Keyfactor Command. endpoints can be called and results returned. It is intended to be used primarily for validation, testing and workflow A workflow is a series of steps necessary to complete a process. In the context of Keyfactor Command, it refers to the workflow builder, which allows you automate event-driven tasks when a certificate is requested or revoked. development. It also serves secondarily as documentation for the API. The link to the Keyfactor API Reference and Utility is in the dropdown from the help icon (
 A workflow is a series of steps necessary to complete a process. In the context of Keyfactor Command, it refers to the workflow builder, which allows you automate event-driven tasks when a certificate is requested or revoked. development. It also serves secondarily as documentation for the API. The link to the Keyfactor API Reference and Utility is in the dropdown from the help icon ( ) at the top of the Management Portal page next to the Log Out button.
) at the top of the Management Portal page next to the Log Out button.