git_credential_ssh_key_new

Create a new passphrase-protected ssh key credential object. The supplied credential parameter will be internally duplicated.

@param out_ The newly created credential object. @param username username to use to authenticate @param publickey The path to the public key of the credential. @param privatekey The path to the private key of the credential. @param passphrase The passphrase of the credential. @return 0 for success or an error code for failure

extern (C) nothrow @nogc
int
git_credential_ssh_key_new
(,
const(char)* username
,
const(char)* publickey
,
const(char)* privatekey
,
const(char)* passphrase
)

Meta