cred_ssh_key

0th

Percentile

Create a new passphrase-protected ssh key credential object

Create a new passphrase-protected ssh key credential object

Keywords
methods
Usage
cred_ssh_key(publickey, privatekey, passphrase)

## S3 method for class 'character,character,character': cred_ssh_key(publickey, privatekey, passphrase)

## S3 method for class 'character,character,missing': cred_ssh_key(publickey, privatekey, passphrase)

Arguments
publickey
The path to the public key of the credential
privatekey
The path to the private key of the credential
passphrase
The passphrase of the credential
Value

  • A S4 cred_ssh_key object

Aliases
  • cred_ssh_key
  • cred_ssh_key,character,character,character-method
  • cred_ssh_key,character,character,missing-method
Examples
## Create a ssh key credential object. It can optionally be
## passphrase-protected
cred_ssh_key("~/.ssh/id_rsa.pub", "~/.ssh/id_rsa")
Documentation reproduced from package git2r, version 0.7, License: GPL-2

Community examples

Looks like there are no examples yet.