Merge pull request 'Revert "make host key check an enum instead of an literal type"' (#4220) from revert_host_key_check into main

Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4220
This commit is contained in:
lassulus
2025-07-06 13:19:00 +00:00
10 changed files with 38 additions and 61 deletions

View File

@@ -4,7 +4,6 @@ from pathlib import Path
import pytest
from clan_cli.tests.sshd import Sshd
from clan_lib.ssh.host_key import HostKeyCheck
from clan_lib.ssh.remote import Remote
@@ -17,7 +16,7 @@ def hosts(sshd: Sshd) -> list[Remote]:
port=sshd.port,
user=login,
private_key=Path(sshd.key),
host_key_check=HostKeyCheck.NONE,
host_key_check="none",
command_prefix="local_test",
)
]