From cde08f081c30ed0d6a719498eaaa1233bd01df99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Kukie=C5=82a?= Date: Tue, 3 Sep 2024 18:11:02 +0200 Subject: [PATCH] SSH - do not output warnings, do not store keys --- tp2bmc/board/tp2bmc/factory_overlay/upper/factory/helpers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tp2bmc/board/tp2bmc/factory_overlay/upper/factory/helpers.sh b/tp2bmc/board/tp2bmc/factory_overlay/upper/factory/helpers.sh index 3c911b06..1169f260 100755 --- a/tp2bmc/board/tp2bmc/factory_overlay/upper/factory/helpers.sh +++ b/tp2bmc/board/tp2bmc/factory_overlay/upper/factory/helpers.sh @@ -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() {