ssh/step_config.tpl context flag in wrong spot

This commit is contained in:
max furman 2021-11-11 22:51:46 -08:00
parent fcc15174ea
commit c80a64d0e6

View file

@ -98,7 +98,7 @@ var DefaultSSHTemplateData = map[string]string{
// references the step known_hosts file. // references the step known_hosts file.
// //
// Note: on windows ProxyCommand requires the full path // Note: on windows ProxyCommand requires the full path
"step_config.tpl": `Match exec "step ssh{{- if .User.Context }} --context {{ .User.Context }}{{- end }} check-host %h" "step_config.tpl": `Match exec "step ssh check-host{{- if .User.Context }} --context {{ .User.Context }}{{- end }} %h"
{{- if .User.User }} {{- if .User.User }}
User {{.User.User}} User {{.User.User}}
{{- end }} {{- end }}