Skip to content

theY4Kman/flightplan-sshconf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published