Skip to main content

Add an SSH key to a user

POST 

/plugin-api/user-manager/:hostId/users/:name/keys

Appends one public key to ~/.ssh/authorized_keys, owned by the user with mode 600.

Request​

Responses​

The keys after the change.