ssh mac works from this box. The key had been offered and refused for a day
because it had never reached the Mac — an earlier paste ran only part of its
command. Fixed by pulling the key over the Mac -> Unraid link that already
worked, so it never passed through the clipboard.
Two new commands in shell/bin, installed to /root/.local/bin at boot:
- omac translates an Unraid path to its Mac counterpart through the shared
Syncthing folders, then opens it, prints it, emits a file:// URL or an OSC 8
hyperlink, or verifies it has synced. It refuses rather than guesses outside
a shared folder. Literal paths are tried before symlink-resolved ones, after
readlink -m was found to resolve skills/memory out of the shared tree.
- clip puts text into the Mac's pasteboard over OSC 52, walking up the process
tree to find a pty and wrapping for tmux passthrough.
Also records the Hammerspoon screenshot hotkey on the Mac side, how hc ls from
the Mac addresses terminals on both machines, and that screencapture cannot
work over ssh because macOS withholds Screen Recording from a non-GUI session.
Verified end to end: a PNG made here, copied to the Mac, pushed back with
hc put unraid/t13, named by shot and read in-session byte-intact.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>