rename connect_ssh_shell to interactive_ssh

better name than secure shell shell
This commit is contained in:
Jörg Thalheim
2025-05-04 10:18:01 +02:00
parent 75cb031e6e
commit 35ee7986d7
2 changed files with 2 additions and 2 deletions

View File

@@ -87,7 +87,7 @@ def ssh_shell_from_deploy(
deploy_info: DeployInfo, runtime: AsyncRuntime, host_key_check: HostKeyCheck
) -> None:
if host := find_reachable_host(deploy_info, host_key_check):
host.connect_ssh_shell()
host.interactive_ssh()
else:
log.info("Could not reach host via clearnet 'addrs'")
log.info(f"Trying to reach host via tor '{deploy_info.tor}'")

View File

@@ -235,7 +235,7 @@ class Host:
return nix_shell(packages, cmd)
def connect_ssh_shell(self) -> None:
def interactive_ssh(self) -> None:
subprocess.run(self.ssh_cmd())