From e0bfbc4b621b18b4ed869c944706757771b1ddf5 Mon Sep 17 00:00:00 2001 From: Mariano Cano Date: Tue, 15 Oct 2019 11:41:35 -0700 Subject: [PATCH] Fix known_host path. --- pki/templates.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pki/templates.go b/pki/templates.go index 99a2ac7d..0fc125d1 100644 --- a/pki/templates.go +++ b/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}}