فهرست منبع

Merge branch 'startup-info' of https://github.com/smallstep/certificates into startup-info

Carl Tashian 4 سال پیش
والد
کامیت
ef9e31cd92
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      authority/authority.go

+ 1 - 1
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))
 	}