Crate functions for manipulating SSH-keys
Authorize a public key on the specified user.
Designed to be used by authorize-key. This is an action to allow passing of delayed arguments for the public-key-string, enabling the authorisation of a key found with record-key.
Authorize a user's public key on the specified user, for ssh access to localhost. The :authorize-for-user option can be used to specify the user to who's authorized_keys file is modified.
Generate an ssh key pair for the given user, unless one already exists. Options are: :file path -- output file name (within ~user/.ssh directory) :type key-type -- key type selection :no-dir true -- do note ensure directory exists :passphrase -- new passphrase for encrypring the private key :comment -- comment for new key
Install a ssh private key.
Record a public key