So, this quickly escalated beyond my knowledge areas, but I have seen workarounds in other environments, so would love to an RDM solution:
SSH via RDM to Debian 13
Run tmux
run Claude Code
select text, does not go to clipboard (like it does in ssh sessions otherwise)
From my searches, it has to do with OSC 52 output. There is even a popup in CC that says: sent 436 chars via OSC 52 . if paste fails, hold Shift (Option in iTerm2, Fn in Terminal. app) while selecting for native copy but not seeming to work with RDM.
See this bug on anthropic: https://github.com/anthropics/claude-code/issues/62699
And this about going to /tui default (which I have not done for a couple other reasons): https://github.com/anthropics/claude-code/issues/62462