Skip to content

tomdewildt/ssh-provision

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSH Provision

Version Build Release Coverage Report License

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.19 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