Skip to content

Commit

Permalink
cluster/executor/ssh: missing StrictHostKeyChecking=no
Browse files Browse the repository at this point in the history
  • Loading branch information
jsvisa committed Sep 2, 2020
1 parent ea03b1d commit 280265d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cluster/executor/ssh.go
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ func (e *NativeSSHExecutor) Execute(cmd string, sudo bool, timeout ...time.Durat
ssh = val
}

args := []string{ssh, "-o", "StrictHostKeyChecking"}
args := []string{ssh, "-o", "StrictHostKeyChecking=no"}

args = e.configArgs(args) // prefix and postfix args
args = append(args, fmt.Sprintf("%s@%s", e.Config.User, e.Config.Host), cmd)
Expand Down

0 comments on commit 280265d

Please sign in to comment.