Refactor command handling

This now supports usage/help texts
This commit is contained in:
2025-05-18 17:56:53 +02:00
parent 26ef9b45d4
commit dcf0b4274c
15 changed files with 337 additions and 431 deletions

View File

@ -69,8 +69,8 @@ class TestSshd:
assert found is True
session.stdin.write(test_client.public_key + "\n")
result = await session.stdout.readline()
assert "OK" in result
result = await session.stdout.read()
assert "Key is valid. Registering client." in result
await session.wait()
return test_client