analogsea (version 1.0.7.2)

key-crud: Create, update, and delete ssh keys.

Description

Create, update, and delete ssh keys.

Usage

key_create(name, public_key, ...)

key_rename(key, name, ...)

key_delete(key, ...)

Arguments

name

(character) The name to give the new SSH key in your account.

public_key

(character) A string containing the entire public key.

...

Other options passed on to low-level API methods.

key

(key) Key to modify.

Examples

Run this code
if (FALSE) {
k <- key_create("key", readLines("~/.ssh/id_rsa.pub"))
k <- key_rename(k, "new_name")
key_delete(k)
}

Run the code above in your browser using DataLab