Skip to content

Commit c80a64d

Browse files
committed
ssh/step_config.tpl context flag in wrong spot
1 parent fcc1517 commit c80a64d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/values.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ var DefaultSSHTemplateData = map[string]string{
9898
// references the step known_hosts file.
9999
//
100100
// Note: on windows ProxyCommand requires the full path
101-
"step_config.tpl": `Match exec "step ssh{{- if .User.Context }} --context {{ .User.Context }}{{- end }} check-host %h"
101+
"step_config.tpl": `Match exec "step ssh check-host{{- if .User.Context }} --context {{ .User.Context }}{{- end }} %h"
102102
{{- if .User.User }}
103103
User {{.User.User}}
104104
{{- end }}

0 commit comments

Comments
 (0)