From 6602d28733f4957286706b07efbb7b77afd96f4b Mon Sep 17 00:00:00 2001 From: elyxlz Date: Wed, 19 Nov 2025 11:18:54 +0000 Subject: [PATCH 1/2] Fix SSH port configuration in nx attach command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update both SSH invocations in attach_to_job() to use custom ssh_port: - Screen ACL command (sudo screen -X acladd) - Screen attach command (screen -x) This ensures nx attach works with non-standard SSH ports. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/nexus/cli/jobs.py | 4 ++++ 1 file changed, 4 insertions(+) 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", From eba4ba834978414898d3d8e983836f22b3fabd69 Mon Sep 17 00:00:00 2001 From: elyxlz Date: Wed, 19 Nov 2025 11:20:34 +0000 Subject: [PATCH 2/2] Bump version to 0.5.30 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- pyproject.toml | 2 +- uv.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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/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" },