Functions for working with ssh credentials.
Functions for working with ssh credentials.
(ensure-ssh-credential {:keys [private-key-path public-key-path] :as user}
{:keys [comment key-type key-size passphrase]
:as options})
Given a user map, ensure credentials exist at the specified :private-key-path and :public-key-path. Logs and prints any issues found with the credentials.
Returns a keyword indicating the credentials' status.
Given a user map, ensure credentials exist at the specified :private-key-path and :public-key-path. Logs and prints any issues found with the credentials. Returns a keyword indicating the credentials' status. - :not-found - :private-key-not-found - :public-key-not-found - :invalid-key - :valid-key
(generate-keypair-files {:keys [private-key-path public-key-path] :as user}
{:keys [comment key-type key-size passphrase]
:or {key-type :rsa key-size 2048}
:as options})
Generate keypair files for the given user and options
Generate keypair files for the given user and options
(ssh-credential-status
{:keys [password private-key private-key-path public-key-path] :as user})
Given a user map, returns a keyword indicating the credentials' status.
Given a user map, returns a keyword indicating the credentials' status. - :not-found - :private-key-not-found - :public-key-not-found - :invalid-key - :valid-key
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close