ssh: refactor callers to use new Host interface

This commit is contained in:
DavHau
2025-07-29 16:39:59 +07:00
committed by Jörg Thalheim
parent c33fd4e504
commit b74193514d
24 changed files with 56 additions and 54 deletions

View File

@@ -12,7 +12,7 @@ def hosts(sshd: Sshd) -> list[Remote]:
login = pwd.getpwuid(os.getuid()).pw_name
group = [
Remote(
"127.0.0.1",
address="127.0.0.1",
port=sshd.port,
user=login,
private_key=Path(sshd.key),