5 ms·
ssh-add (at least on linux) has the -c option, which tells ssh-agent to do exactly this.
by keeperofdakeys 12y ago
ssh-add (at least on linux) has the -c option, which tells ssh-agent to do exactly this.
- IgorPartola 12y agoThat's what I use. ssh-add properly does not actually include a UI of any kind. It just calls $SSH_ASKPASS. The linked code essentially provides two wrappers around all this: one to add keys and set up SSH_ASKPASS, and the other to be the script that is $SSH_ASKPASS that uses the Mac OS X GUI to show you the confirmation dialog.