router7/cmd/captured/captured.go

24 lines
382 B
Go
Raw Normal View History

package main
import (
"flag"
"log"
)
var (
hostKeyPath = flag.String("host_key",
"/perm/breakglass.host_key",
"path to a PEM-encoded RSA, DSA or ECDSA private key (create using e.g. ssh-keygen -f /perm/breakglass.host_key -N '' -t rsa)")
)
func logic() error {
return listenAndServe()
}
func main() {
flag.Parse()
if err := logic(); err != nil {
log.Fatal(err)
}
}