GNOME Bugzilla – Bug 735873
Provide API for reliably calling ssh programs
Last modified: 2019-02-22 11:58:53 UTC
SSH programs have an awkward way of prompting for passwords via an SSH_ASKPASS environment variable (along with a missing tty). We should provide a nice simple wrapper API for doing this.
Created attachment 285123 [details] [review] gcr: Implement GcrSshAskpass API This allows calling ssh programs like ssh-add or ssh itself, and handling the password prompts.
Created attachment 285236 [details] [review] egg: Move mock-interaction.[ch] to egg/ directory Since we want to use this from the gcr/ code
Created attachment 285237 [details] [review] gcr: Implement GcrSshAskpass API This allows calling ssh programs like ssh-add or ssh itself, and handling the password prompts.
Work in progress branch here: https://git.gnome.org/browse/gcr/log/?h=ssh-askpass
Created attachment 368923 [details] [review] gcr: Implement GcrSshAskpass API This allows calling ssh programs like ssh-add or ssh itself, and handling the password prompts.
Attachment 285236 [details] pushed as 3548ba1 - egg: Move mock-interaction.[ch] to egg/ directory Attachment 368923 [details] pushed as 661767a - gcr: Implement GcrSshAskpass API