librarian v0.1.9 SSH.Key View Source
provides a basic way to generate passwordless SSH key files.
More complex options should be implemented directly via the
:public_key
module.
Link to this section Summary
Functions
roughly equivalent to the shell command ssh-keygen -t rsa
. Appends
userinfo
in the comments field.
Link to this section Types
currently, rsa is the only mode supported. In the future, ec mode might be added.
Link to this section Functions
roughly equivalent to the shell command ssh-keygen -t rsa
. Appends
userinfo
in the comments field.
returns {public_key, private_key}
As is expected by openssh, the public_key is ssh-encoded and the private_key is pem-encoded.
options
:size
- sets the bit size. for rsa, this can be 2048 or 4096