link to README section “installation” when keys are missing
This commit is contained in:
parent
3bc0b09635
commit
00ea9a7166
@ -72,6 +72,9 @@ func main() {
|
|||||||
|
|
||||||
authorizedKeys, err := loadAuthorizedKeys(*authorizedKeysPath)
|
authorizedKeys, err := loadAuthorizedKeys(*authorizedKeysPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
if os.IsNotExist(err) {
|
||||||
|
log.Printf("see https://github.com/gokrazy/breakglass#installation")
|
||||||
|
}
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -87,6 +90,9 @@ func main() {
|
|||||||
|
|
||||||
signer, err := loadHostKey(*hostKeyPath)
|
signer, err := loadHostKey(*hostKeyPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
if os.IsNotExist(err) {
|
||||||
|
log.Printf("see https://github.com/gokrazy/breakglass#installation")
|
||||||
|
}
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
config.AddHostKey(signer)
|
config.AddHostKey(signer)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user