Bug 2798 - please consider providing a pre-invokcation hook
Summary: please consider providing a pre-invokcation hook
Status: CLOSED DUPLICATE of bug 2824
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: 7.6p1
Hardware: All All
: P5 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-02 19:33 AEDT by Marc 'Zugschlus' Haber
Modified: 2021-04-23 14:58 AEST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc 'Zugschlus' Haber 2017-11-02 19:33:40 AEDT
Hi,

please consider providing a configurable hook option (useable from .ssh/config and/or -o) to invoke a binary before the actual ssh processing begins. This could for example be used to load a certain key into the agent or to query the user for a PIN needed for the HSM (in case the used library doesn't go interactive).

It is of course possible to wrap ssh, but having ssh do this itself greatly reduces the attach surface of a wrapper's command line processing and doesn't require the user to remember to call the wrapper instead.

Greetings
Marc
Comment 1 Damien Miller 2018-04-06 14:02:13 AEST

*** This bug has been marked as a duplicate of bug 2824 ***
Comment 2 Damien Miller 2021-04-23 14:58:47 AEST
closing resolved bugs as of 8.6p1 release