Update authority/authority.go

Co-authored-by: Herman Slatman <hslatman@users.noreply.github.com>
pull/862/head
Carl Tashian 2 years ago committed by GitHub
parent 91be50cf70
commit 25cc9a1728
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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))
}

Loading…
Cancel
Save