func main()

in scripts/remote.go [44:68]


func main() {
	pflag.Parse()

	config := &ssh.ClientConfig{
		User: *username,
		Auth: []ssh.AuthMethod{
			ssh.Password(*password),
		},
		HostKeyCallback: ssh.InsecureIgnoreHostKey(),
	}

	if *windows && !strings.HasSuffix(*binary, ".exe") {
		*binary = *binary + ".exe"
	}

	var wg sync.WaitGroup
	for _, target := range *targets {
		wg.Add(1)
		go func(t string) {
			defer wg.Done()
			doTarget(t, config)
		}(target)
	}
	wg.Wait()
}