Create a new passphrase-protected ssh key credential object. The supplied credential parameter will be internally duplicated.
The newly created credential object.
username to use to authenticate
The path to the public key of the credential.
The path to the private key of the credential.
The passphrase of the credential.
0 for success or an error code for failure
See Implementation
Create a new passphrase-protected ssh key credential object. The supplied credential parameter will be internally duplicated.