Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

vagrant-ssh-config-generator

0.1.0 • Public • Published

vagrant ssh config generator

Create an ssh config to allow ssh access to vagrant boxes.

Build Status

NPM

Usage

The command vagrant-ssh-config-generator outputs a string that looks like

Host *.vagrant.dev
  User vagrant
  UserKnownHostsFile /dev/null
  StrictHostKeyChecking no
  PasswordAuthentication no
  IdentityFile "/HOME_DIRECTORY_HERE/.vagrant.d/insecure_private_key"
  IdentitiesOnly yes
  LogLevel FATAL

To add this to your ssh config file, execute

vagrant-ssh-config-generator >> ~/.ssh/config

Note that in the example above, HOME_DIRECTORY_HERE will be replaced with your actual home directory

Test

# install development dependcies 
npm install
# run the tests 
npm test

Keywords

none

install

npm i vagrant-ssh-config-generator

Downloadsweekly downloads

2

version

0.1.0

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability