Files
archipelago/connectors/host/main.go
T
sam 34bd70f1c1
publish / publish (push) Successful in 2m53s
feat(connectors): host connector with read-only SSH lookups; sops engine on the sops library
The host connector answers filesystem_usage, directory_sizes and old_files on
configured hosts over SSH with pinned host keys, dialling through the egress
tunnel when confined. The sops engine decrypts with the sops library instead
of the CLI, takes its file from settings and an age identity from its secrets.
2026-11-15 22:14:26 +11:00

14 lines
441 B
Go

// Command host is the host connector: read-only lookups 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; a judged command action
// comes with judgement.
package main
import "github.com/samcharles93/archipelago/sdk/connector"
func main() {
connector.Serve(func(cfg connector.Config) (connector.Connector, error) {
return newHost(cfg)
})
}