13 lines
416 B
Go
13 lines
416 B
Go
// Command host is the host connector: read-only lookups and a few typed
|
|
// actions on the hosts it is configured with, run over SSH with a pinned host
|
|
// key and the credential Archie hands it. It runs no free-form command.
|
|
package main
|
|
|
|
import "github.com/samcharles93/archipelago/sdk/connector"
|
|
|
|
func main() {
|
|
connector.Serve(func(cfg connector.Config) (connector.Connector, error) {
|
|
return newHost(cfg)
|
|
})
|
|
}
|