forked from TrueCloudLab/certificates
Fix known_host path.
This commit is contained in:
parent
40052a1824
commit
d3b8d2e55a
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ var sshTemplateData = map[string]string{
|
||||||
// and references the step known_hosts file
|
// and references the step known_hosts file
|
||||||
"config.tpl": `Match exec "step ssh check-host %h"
|
"config.tpl": `Match exec "step ssh check-host %h"
|
||||||
ForwardAgent yes
|
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 authorizes the ssh hosts key
|
||||||
"known_hosts.tpl": `@cert-authority * {{.Step.SSH.HostKey.Type}} {{.Step.SSH.HostKey.Marshal | toString | b64enc}}
|
"known_hosts.tpl": `@cert-authority * {{.Step.SSH.HostKey.Type}} {{.Step.SSH.HostKey.Marshal | toString | b64enc}}
|
||||||
|
|
Loading…
Reference in a new issue