Просмотр исходного кода

ssh/step_config.tpl context flag in wrong spot

max furman 5 лет назад
Родитель
Сommit
c80a64d0e6
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      templates/values.go

+ 1 - 1
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 }}