3 ms·
No need for a modified agent, just put this in your ~/.ssh/config: AddKeysToAgent confirm You may need to separately install ssh-askpass.
by metafunctor 5y ago
No need for a modified agent, just put this in your ~/.ssh/config:
AddKeysToAgent confirm
You may need to separately install ssh-askpass.
- lima 5y agoThis does not do what parent describes.
- metafunctor 5y agoIt tells the agent to confirm each use of a key using ssh-askpass. The same can be achieved with the -c option for ssh-add. If the confirmation dialog really also showed a host name then yeah, this is not strictly the same. But it's pretty close.