PUT SSH Users
The PUT /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./Users method is used to update an existing SSH user in Keyfactor Command and, optionally, associate the user with one or more Linux logons to allow the public key
In asymmetric cryptography, public keys are used together in a key pair with a private key. The private key is retained by the key's creator while the public key is widely distributed to any user or target needing to interact with the holder of the private key. for the user to be published out to a Linux server—for servers in inventory and publish policy mode. This method returns HTTP 200 OK on a success with the details of the user to logon mapping, if any.
SSH actions are affected by ownership on the server group
Table 727: PUT SSH Users Input Parameters
Name | In | Description |
---|---|---|
ID | Body |
Required. An integer indicating the Keyfactor Command reference ID of the SSH user. Use the GET /SSH/Users method (see GET SSH Users) to retrieve a list of all the SSH users to determine the user's ID. |
LogonIds | Body |
An array of integers indicating the Keyfactor Command reference IDs for the Linux logons to map to the user to cause the user's SSH public key to be published out to the Linux servers on which those logons reside. These are provided in the following format: [12,27,39]
Use the GET /SSH/Logons method (see GET SSH Logons) to retrieve a list of all the SSH logons to determine the logon's ID(s). Important: Logon IDs you provide here replace any existing logon IDs associated with the user. To avoid accidentally removing access for users, check existing logons for the user (see GET SSH Users) before updating and provide both existing and new logon IDs.
|
Table 728: POST SSH Users Response Data
Name | Description |
---|---|
ID |
An integer indicating the Keyfactor Command reference ID of the SSH user. |
Username |
A string indicating the full username of the user or service account. |
LogonIds |
An array of integers indicating the Keyfactor Command reference IDs for the Linux logons to map to the user to cause the user's SSH public key to be published out to the Linux servers on which those logons reside. |


