From 39a11609dfa1bb5581a1347e41d994ee1cf42fd5 Mon Sep 17 00:00:00 2001 From: kyrie Date: Thu, 22 Oct 2026 13:55:47 +0800 Subject: [PATCH] fix port args --- apps/rlark/pkg/agent/controllers/task/files/ray_head.sh | 2 +- apps/rlark/pkg/agent/controllers/task/files/ray_worker.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/rlark/pkg/agent/controllers/task/files/ray_head.sh b/apps/rlark/pkg/agent/controllers/task/files/ray_head.sh index f325e25..2171d61 100644 --- a/apps/rlark/pkg/agent/controllers/task/files/ray_head.sh +++ b/apps/rlark/pkg/agent/controllers/task/files/ray_head.sh @@ -10,7 +10,7 @@ fi # Phase 0: Start rlark-tools sshd if the binary is available if [ -n "$RLARK_SSH_PUBLIC_KEY" ] && [ -x /rlark-tools/rlark-tools ]; then - nohup /rlark-tools/rlark-tools sshd -port 22 > /tmp/rlark-sshd.log 2>&1 & + nohup /rlark-tools/rlark-tools sshd --port 22 > /tmp/rlark-sshd.log 2>&1 & echo "rlark-tools sshd started on port 22" elif [ -n "$RLARK_SSH_PUBLIC_KEY" ]; then mkdir -p ~/.ssh && chmod 700 ~/.ssh diff --git a/apps/rlark/pkg/agent/controllers/task/files/ray_worker.sh b/apps/rlark/pkg/agent/controllers/task/files/ray_worker.sh index 314ae64..a065729 100644 --- a/apps/rlark/pkg/agent/controllers/task/files/ray_worker.sh +++ b/apps/rlark/pkg/agent/controllers/task/files/ray_worker.sh @@ -10,7 +10,7 @@ fi # Phase 0: Inject SSH public key into authorized_keys if [ -n "$RLARK_SSH_PUBLIC_KEY" ] && [ -x /rlark-tools/rlark-tools ]; then - nohup /rlark-tools/rlark-tools sshd -port 2222 > /tmp/rlark-sshd.log 2>&1 & + nohup /rlark-tools/rlark-tools sshd --port 2222 > /tmp/rlark-sshd.log 2>&1 & echo "rlark-tools sshd started on port 2222" elif [ -n "$RLARK_SSH_PUBLIC_KEY" ]; then mkdir -p ~/.ssh && chmod 700 ~/.ssh