ssh-provision

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2020 License: MIT

README

SSH Provision

Go Version Project Version CI Status CD Status Coverage Status Report Status

A simple tool to create ssh keys and distribute them to CentOS servers.

Note: This tool is not production ready.

How To Run

Prerequisites:

  • vagrant version 2.2.7 or later
  • go version 1.13 or later
Development
  1. Run make init to initialize the environment.
  2. Run make run to execute the cli tool.
Test
  1. Run make init to initialize the environment.
  2. Run make test to execute the tests for the cli tool.

Run make vm/start to create the virtual machine, make vm/stop to stop the virtual machine and make vm/remove to remove it.

How To Build

Linux
  1. Run make init to initialize the environment.
  2. Run make build to build the cli tool.

References

Go Docs

Go SSH

Go Logus

Go Cobra

Go Validator

Go Testify

Go Project Layout

Directories

Path Synopsis
cmd
internal
pkg
cli
ssh

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL