Create a new ssh keyboard-interactive based credential object. The supplied credential parameter will be internally duplicated.
The newly created credential object.
Username to use to authenticate.
The callback method used for prompts.
Additional data to pass to the callback.
0 for success or an error code for failure.