Skip to content

Commit 669e7e4

Browse files
authored
Fix host key verification failure for clush console type (#2141)
The clush SSH options were missing StrictHostKeyChecking=no and LogLevel=ERROR, causing "Host key verification failed" errors on all clush connections. Will be improved by #2140 in the future. Signed-off-by: Christian Berendt <berendt@osism.tech>
1 parent 985a085 commit 669e7e4

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

osism/commands/console.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,11 @@ def take_action(self, parsed_args):
226226
"-l",
227227
settings.OPERATOR_USER,
228228
"-o",
229-
f"-o UserKnownHostsFile={tmp_known_hosts}",
229+
"StrictHostKeyChecking=no",
230+
"-o",
231+
"LogLevel=ERROR",
232+
"-o",
233+
f"UserKnownHostsFile={tmp_known_hosts}",
230234
"-g",
231235
host,
232236
]

0 commit comments

Comments
 (0)