keygen | R Documentation |
Just for the convenience of it, make a key pair that may be used alongside sship. Please note that by default the private key will not be protected by a password.
keygen( directory = "~/.ssh", type = "rsa", password = NULL, overwrite_existing = FALSE )
directory |
Character string with path to directory where the key pair will be written. Default is "~/.ssh". |
type |
Character string defining the key type. Must be one of
|
password |
Character string with password to protect the private key. Default value is NULL in which case the private key will not be protected by a password |
overwrite_existing |
Logical whether existing key files with the similar names should be overwritten. Set to FALSE by default. |
Nothing will be returned from this function, but a message containing the directory where the keys were written is provided
keygen(directory = tempdir(), overwrite_existing = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.