mirror of
https://github.com/outbackdingo/certificates.git
synced 2026-01-27 10:18:34 +00:00
Fix known_host path.
This commit is contained in:
@@ -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}}
|
||||
|
||||
Reference in New Issue
Block a user