flightplan-sshconf
v0.1.0
Published
Leverage SSH config files in your flightplan
Downloads
3
Readme
flightplan-sshconf
Avoid hard-coding personal login details in your Flightplan by reading from your SSH config.
Installation & Usage
$ npm install flightplan-sshconf
// flightplan.js
var plan = require('flightplan');
var useSshConf = require('flightplan-sshconf');
useSshConf(plan);
Semantics
Behavior is roughly modeled on Fabric's, namely:
- User, Port, and IdentityFile will fill in missing values of "user", "port", and "privateKey", respectively.
- If any of these are globally specified (i.e. placed before any Host directive), they will be used as defaults
- HostName may be used to replace the given "host" value