Skip to content

Commit

Permalink
SSH - do not output warnings, do not store keys
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-kukiela authored Sep 3, 2024
1 parent 5bcb5c4 commit cde08f0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ send_command() {
local node_ip_var="NODE${n}_IP"
local node_ip_value=$(eval echo \$$node_ip_var)

sshpass -p "$RK1_PASSWORD" ssh -o StrictHostKeyChecking=no -o ConnectTimeout=10 "${RK1_USERNAME}@${node_ip_value}" "$cmd"
sshpass -p "$RK1_PASSWORD" ssh -o LogLevel=ERROR -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ConnectTimeout=10 "${RK1_USERNAME}@${node_ip_value}" "$cmd"
}

uart_output_node() {
Expand Down

0 comments on commit cde08f0

Please sign in to comment.