Skip to content

Commit

Permalink
Update kubectl-exec
Browse files Browse the repository at this point in the history
  • Loading branch information
mohatb authored Oct 4, 2022
1 parent bf71ced commit 0731566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubectl-exec
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ read -p "Enter the windows node ssh user: " WINDOWSSSHUSER
"stdin": true,
"stdinOnce": true,
"tty": true,
"command": [ "nsenter", "--target", "1", "--mount", "--uts", "--ipc", "--net", "--pid", "--", "ssh", "$WINDOWSSSHUSER@$WINNODEIP" ]
"command": [ "nsenter", "--target", "1", "--mount", "--uts", "--ipc", "--net", "--pid", "--", "ssh", "-o", "StrictHostKeyChecking=no", "$WINDOWSSSHUSER@$WINNODEIP" ]
}
]
}
Expand Down

0 comments on commit 0731566

Please sign in to comment.