Jelajahi Sumber

Fix known_host path.

Mariano Cano 7 tahun lalu
induk
melakukan
d6de129513
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      pki/templates.go

+ 1 - 1
pki/templates.go

@@ -35,7 +35,7 @@ var sshTemplateData = map[string]string{
 	// and references the step known_hosts file
 	"config.tpl": `Match exec "step ssh check-host %h"
 	ForwardAgent yes
-	UserKnownHostsFile {{.User.StepPath}}/config/ssh/known_hosts`,
+	UserKnownHostsFile {{.User.StepPath}}/ssh/known_hosts`,
 
 	// known_hosts.tpl authorizes the ssh hosts key
 	"known_hosts.tpl": `@cert-authority * {{.Step.SSH.HostKey.Type}} {{.Step.SSH.HostKey.Marshal | toString | b64enc}}