From 25cc9a172835207680d2fee3c13690a5688169f4 Mon Sep 17 00:00:00 2001 From: Carl Tashian Date: Tue, 22 Mar 2022 07:38:09 -0700 Subject: [PATCH] Update authority/authority.go Co-authored-by: Herman Slatman --- authority/authority.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authority/authority.go b/authority/authority.go index 516c8130..50025cce 100644 --- a/authority/authority.go +++ b/authority/authority.go @@ -543,7 +543,7 @@ func (a *Authority) init() error { if tmplVars.SSH.HostKey != nil { log.Printf("SSH Host CA Key: %s\n", ssh.MarshalAuthorizedKey(tmplVars.SSH.HostKey)) } - if tmplVars.SSH.HostKey != nil { + if tmplVars.SSH.UserKey != nil { log.Printf("SSH User CA Key: %s\n", ssh.MarshalAuthorizedKey(tmplVars.SSH.UserKey)) }