diff --git a/pyproject.toml b/pyproject.toml index 848c93b..ccb531e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "nexusai" -version = "0.5.29" +version = "0.5.30" description = "Add your description here" readme = "README.md" requires-python = ">=3.9" diff --git a/src/nexus/cli/jobs.py b/src/nexus/cli/jobs.py index 939029d..ef87968 100644 --- a/src/nexus/cli/jobs.py +++ b/src/nexus/cli/jobs.py @@ -1255,6 +1255,8 @@ def attach_to_job(cfg: config.NexusCliConfig, target: str | None = None, target_ subprocess.call( [ "ssh", + "-p", + str(target_cfg.ssh_port), "-o", "StrictHostKeyChecking=accept-new", f"{target_cfg.ssh_user}@{target_cfg.host}", @@ -1275,6 +1277,8 @@ def attach_to_job(cfg: config.NexusCliConfig, target: str | None = None, target_ exit_code = subprocess.call( [ "ssh", + "-p", + str(target_cfg.ssh_port), "-t", "-o", "StrictHostKeyChecking=accept-new", diff --git a/uv.lock b/uv.lock index 73575db..b60dbdd 100644 --- a/uv.lock +++ b/uv.lock @@ -852,7 +852,7 @@ wheels = [ [[package]] name = "nexusai" -version = "0.5.29" +version = "0.5.30" source = { editable = "." } dependencies = [ { name = "aiohttp" },