link to README section “installation” when keys are missing

This commit is contained in:
Michael Stapelberg 2020-04-08 14:28:31 +02:00
parent 3bc0b09635
commit 00ea9a7166

View File

@ -72,6 +72,9 @@ func main() {
authorizedKeys, err := loadAuthorizedKeys(*authorizedKeysPath)
if err != nil {
if os.IsNotExist(err) {
log.Printf("see https://github.com/gokrazy/breakglass#installation")
}
log.Fatal(err)
}
@ -87,6 +90,9 @@ func main() {
signer, err := loadHostKey(*hostKeyPath)
if err != nil {
if os.IsNotExist(err) {
log.Printf("see https://github.com/gokrazy/breakglass#installation")
}
log.Fatal(err)
}
config.AddHostKey(signer)