assh icon indicating copy to clipboard operation
assh copied to clipboard

Per host hooks?

Open lvets opened this issue 5 years ago • 0 comments

Hello,

Is is possible to have per host or per include file hooks? We are using SSH certificates with a low time to live (30m) which are signed by a CA. We have different CAs for development and production.

I was thinking of doing something like:

hosts:
  host1:
    Hostname: blabla
    User: blabla2
    Hooks:
      BeforeConnect:
        - exec <command that signs my keys>

Is this possible? If not, would you think this would be a nice addition? :)

lvets avatar Aug 11 '20 01:08 lvets