c.sshRemote = remote
if sshConfig != "" {
- c.sshOpts = append(c.sshOpts, "-F", sshConfig)
+ c.sshOpts = []string{"-F", sshConfig}
}
c.cmd = exec.Command("ssh",
append(append([]string{}, c.sshOpts...),
tmp="$(mktemp "$x.XXXXXX")"
# Report filename for upload
echo "$tmp"
-
# Wait for upload to complete
read unused