Skip to main content
تشغيل أي مهارة في Manus
بنقرة واحدة

device-ssh-exec

النجوم٤
التفرعات٠
آخر تحديث١٢ يونيو ٢٠٢٦ في ٢١:٤٠

The MANDATORY way to run ANY command on the test device (`ssh oneplus`, a termux sshd on the phone) — exec, upload, download, or probe. Use whenever ANYTHING touches the device: a one-off `echo`, deploying/running a bare-metal or QNN binary, pushing libs/inputs, pulling outputs, or a benchmark loop; and whenever a device run "hangs"/times out. The rule is one line: `source scripts/dssh.sh` once near the top of the script — that exports an `ssh()`/`scp()` override so EVERY `ssh`/`scp` (existing call sites included) plus the explicit `dssh`/`dssh_put`/`dssh_get` helpers all ride ONE persistent ControlMaster mux. What is banned is reaching the device from a shell that has NOT sourced it. Pins the proven root cause (per-connection ssh to the termux sshd intermittently fails to return ~5-15% — NOT a DSP/FastRPC/app deadlock; the remote command actually completes), the fix, large-file retry, how to localize a real hang (device-side log, not ssh stdout), and how to tell link-flakiness from an app bug.

التثبيت

التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.

SKILL.md
readonly