From c80a64d0e6673d32161fb5d11944ccfd29c7b9bf Mon Sep 17 00:00:00 2001 From: max furman Date: Thu, 11 Nov 2021 22:51:46 -0800 Subject: [PATCH] ssh/step_config.tpl context flag in wrong spot --- templates/values.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/values.go b/templates/values.go index 7a8e1765..3cace69d 100644 --- a/templates/values.go +++ b/templates/values.go @@ -98,7 +98,7 @@ var DefaultSSHTemplateData = map[string]string{ // references the step known_hosts file. // // 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 }} User {{.User.User}} {{- end }}