flightplan-sshconf

0.1.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i flightplan-sshconf

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • they4kman