Top |
Functions
GcrSshAskpass * | gcr_ssh_askpass_new () |
GTlsInteraction * | gcr_ssh_askpass_get_interaction () |
void | gcr_ssh_askpass_child_setup () |
Description
When used as the setup function while spawning an ssh command like ssh-add or ssh, this allows callbacks for passwords on the provided interaction.
Functions
gcr_ssh_askpass_new ()
GcrSshAskpass *
gcr_ssh_askpass_new (GTlsInteraction *interaction
);
Create a new GcrSshAskpass object which can be used to spawn an ssh command and prompt for any necessary passwords.
Use the gcr_ssh_askpass_child_setup()
function as a callback with
g_spawn_sync()
, g_spawn_async()
or g_spawn_async_with_pipes()
.
gcr_ssh_askpass_get_interaction ()
GTlsInteraction *
gcr_ssh_askpass_get_interaction (GcrSshAskpass *self
);
Get the interaction associated with this object.