add_authorized_key
Add an SSH public key to a user's authorized_keys file to grant key-based authentication access to an Ubuntu server.
Instructions
Add an SSH public key to a user's authorized_keys.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | Yes | ||
| publicKey | Yes | SSH public key string | |
| targetUser | Yes | ||
| sudo_password | No |