Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
ci
 
 
 
 
 
 
 
 

sct -- SSH config templating

A tool I use to manage my ~/.ssh/config

CAUTION

Use this at your own risk. This WILL overwrite ~/.ssh/config no questions asked.

Installation

Get Go, and go get loe.yt/sct.

Use

ssh-config-template looks at all folders in ~/.sct/. In those folders it expects to find a template file, and a hosts.json file. The template file must be a valid text/template. The hosts.json must be a valid JSON Object, and each value in the Object will be passed to the template as {{.Name}} and {{.Value}}. Folders are processed in alphabetical order, and for each folder the hosts in hosts.json will be processed in alphabetical order.

More README coming soon, maybe.