Skip to content

Commit

Permalink
updated kubernetes_nodes_ssh_dump_logs.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Oct 15, 2024
1 parent a84d0b2 commit 1440048
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions kubernetes/kubernetes_nodes_ssh_dump_logs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,6 @@ num_nodes="$(wc -l <<< "$nodes" | sed 's/[[:space:]]//g')"
timestamp "Found $num_nodes nodes"
echo

timestamp "SSH Keyscanning nodes to prevent getting stuck on host key prompts"
for node in $nodes; do
timestamp "SSH keyscan '$node'"
ssh-keyscan "$node" >> ~/.ssh/known_hosts
done
echo

# want splitting
# shellcheck disable=SC2086
"$srcdir/../monitoring/ssh_dump_logs.sh" $nodes

0 comments on commit 1440048

Please sign in to comment.