SSH module: Add SSH key

Add a SSH public key to remote users authorized_keys file.

Example

space -m ssh /addsshkey/ -- "janitor" "/tmp/janitor.pub"

Exit status code is expected to be 0 on success.

Edit this page