Here’s the link to LumiGuide presentation about how they do it for SSH deployments
https://youtu.be/J4DgATIjx9E?t=1182