-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
Hey @stewid ,
I'm probably missing something obvious here; but I see that I can create a new credential with cred_ssh_key, but I cannot figure out how to just get a credential object for an existing credential. I tried hacking it with:
cred <- new("cred_ssh_key", publickey = "~/.ssh/id_rsa.pub", privatekey = "~/.ssh/id_rsa", passphrase = "XXX")but that just gives me an error
Error in 'git2r_clone': Failed to authenticate SSH session: Unable to open public key file
it looks like that error could be due to the function not performing tilde expansion, but full paths to the shh key just give me a different error:
Error in 'git2r_clone': Failed to authenticate SSH session: Callback returned error
and in any event I'm guessing I'm not supposed to be calling new to create my credential object. any suggestions?
hack-r
Metadata
Metadata
Assignees
Labels
No labels