apostrophecms / stagecoach

Painlessly deploy node.js applications to your staging and production servers. Use a standard VPS or dedicated server to host both Node and traditional Apache-based websites. Pairs nicely with nginx and mechanic.
306 stars 29 forks source link

SSH_KEY_PATH optional settings variable added #23

Closed timashev closed 5 years ago

timashev commented 6 years ago

If the main SSH private key has a passphrase, then it's quite annoying to enter the password three times during the deployment. So I added the ability to use a special (passwordless/passphraseless) key only for Stagecoach deployments an its other commands.

boutell commented 5 years ago

Sorry for the delay.

This is good, but these options are going to proliferate infinitely, so I introduced a generic SSH_OPTIONS (PR close to approval) which allows you to prepend whatever you need to all ssh commands.