Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/rlark/pkg/agent/controllers/task/files/ray_head.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion apps/rlark/pkg/agent/controllers/task/files/ray_worker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down