Skip to content

Commit

Permalink
host key ssh fix3
Browse files Browse the repository at this point in the history
  • Loading branch information
rajguptavm committed Sep 20, 2024
1 parent 2e78955 commit 6e23936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -7080,7 +7080,7 @@ func execCommandOnGcWorker(sshClientConfig *ssh.ClientConfig, svcMasterIP string
}

cmdToGetContainerInfo := fmt.Sprintf("ssh -o StrictHostKeyChecking=no -i key %s@%s "+
"'%s'> >(grep -v 'Warning' >&2)", gcNodeUser, gcWorkerIp, cmd)
"'%s' | grep -v 'Warning'", gcNodeUser, gcWorkerIp, cmd)
framework.Logf("Invoking command '%v' on host %v", cmdToGetContainerInfo,
svcMasterIP)
cmdResult, err = sshExec(sshClientConfig, svcMasterIP,
Expand Down

0 comments on commit 6e23936

Please sign in to comment.