0.1.0 • Published 6 years ago

flightplan-sshconf v0.1.0

Weekly downloads
26
License
MIT
Repository
github
Last release
6 years ago

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
0.1.0

6 years ago

0.0.1

7 years ago